[cig-commits] commit 1969 by heien to /var/svn/dealii/aspect

dealii.demon at gmail.com dealii.demon at gmail.com
Wed Oct 16 12:33:16 PDT 2013


Revision 1969

Minor spelling/grammar fixes

U   trunk/aspect/source/postprocess/table_velocity_statistics.cc
U   trunk/aspect/source/postprocess/velocity_statistics.cc
U   trunk/aspect/source/simulator/core.cc


http://www.dealii.org/websvn/revision.php?repname=Aspect+Repository&path=%2F&rev=1969&peg=1969

Diff:
Modified: trunk/aspect/source/postprocess/table_velocity_statistics.cc
===================================================================
--- trunk/aspect/source/postprocess/table_velocity_statistics.cc	2013-10-16 16:08:59 UTC (rev 1968)
+++ trunk/aspect/source/postprocess/table_velocity_statistics.cc	2013-10-16 19:32:59 UTC (rev 1969)
@@ -185,7 +185,7 @@
           this->get_pcout()<< "     Reference thermal expansion (1/K):             "
                            << material_model.reference_thermal_expansion_coefficient()
                            << std::endl;
-          this->get_pcout()<< "     Temperature contrast accross model domain (K): "
+          this->get_pcout()<< "     Temperature contrast across model domain (K): "
                            << dT
                            << std::endl;
           this->get_pcout()<< "     Model domain depth (m):                        "

Modified: trunk/aspect/source/postprocess/velocity_statistics.cc
===================================================================
--- trunk/aspect/source/postprocess/velocity_statistics.cc	2013-10-16 16:08:59 UTC (rev 1968)
+++ trunk/aspect/source/postprocess/velocity_statistics.cc	2013-10-16 19:32:59 UTC (rev 1969)
@@ -168,7 +168,7 @@
               this->get_pcout()<< "     Reference thermal expansion (1/K):             "
                                << material_model.reference_thermal_expansion_coefficient()
                                << std::endl;
-              this->get_pcout()<< "     Temperature contrast accross model domain (K): "
+              this->get_pcout()<< "     Temperature contrast across model domain (K): "
                                << dT
                                << std::endl;
               this->get_pcout()<< "     Model domain depth (m):                        "

Modified: trunk/aspect/source/simulator/core.cc
===================================================================
--- trunk/aspect/source/simulator/core.cc	2013-10-16 16:08:59 UTC (rev 1968)
+++ trunk/aspect/source/simulator/core.cc	2013-10-16 19:32:59 UTC (rev 1969)
@@ -1132,11 +1132,11 @@
   {
     {
       const int n_tasks = Utilities::MPI::n_mpi_processes(mpi_communicator);
-      pcout << "Running with " << n_tasks << " MPI tasks";
+      pcout << "Running with " << n_tasks << " MPI task" << (n_tasks == 1 ? "" : "s");
 #if (DEAL_II_MAJOR*100 + DEAL_II_MINOR) >= 801
       const int n_threads = multithread_info.n_threads();
       if (n_threads>1)
-        pcout << " using " << n_threads << "each";
+        pcout << " using " << n_threads << " threads " << (n_tasks == 1 ? "" : "each");
 #endif
       pcout << "." << std::endl;
     }


More information about the CIG-COMMITS mailing list