[cig-commits] [commit] master: Minor text edits. (9798be3)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Tue May 20 11:54:17 PDT 2014


Repository : https://github.com/geodynamics/aspect

On branch  : master
Link       : https://github.com/geodynamics/aspect/compare/8ede49902e2093f35fe062c7fc0f2339a96b9b57...22f7bf397e02ab73095f6873dd2461c456aa8031

>---------------------------------------------------------------

commit 9798be3949e58705e8ea9e9eece0591dd2df1566
Author: Wolfgang Bangerth <bangerth at math.tamu.edu>
Date:   Tue May 20 13:29:56 2014 -0500

    Minor text edits.


>---------------------------------------------------------------

9798be3949e58705e8ea9e9eece0591dd2df1566
 source/postprocess/spherical_velocity_statistics.cc | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/source/postprocess/spherical_velocity_statistics.cc b/source/postprocess/spherical_velocity_statistics.cc
index bf7a08d..ffe5d8a 100644
--- a/source/postprocess/spherical_velocity_statistics.cc
+++ b/source/postprocess/spherical_velocity_statistics.cc
@@ -92,14 +92,15 @@ namespace aspect
       const double global_tan_velocity_square_integral
         = Utilities::MPI::sum (local_tan_velocity_square_integral, this->get_mpi_communicator());
 
-      // compute the final output by dividing by the volume over which we integrated and taking the sqrt
+      // compute the final output by dividing by the volume over which
+      // we integrated and taking the sqrt
       const double rad_vrms = std::sqrt(global_rad_velocity_square_integral / this->get_volume());
       const double tan_vrms = std::sqrt(global_tan_velocity_square_integral / this->get_volume());
       const double vrms = std::sqrt(rad_vrms*rad_vrms + tan_vrms*tan_vrms);
 
       if (this->convert_output_to_years() == true)
         {
-          // make sure that the columns filled by the this object
+          // make sure that the columns filled by this object
           // all show up with sufficient accuracy and in scientific notation
             const char *columns[] = { "Radial RMS velocity (m/yr)",
                                       "Tangential RMS velocity (m/yr)",
@@ -116,11 +117,9 @@ namespace aspect
                 statistics.set_precision (columns[i], 8);
                 statistics.set_scientific (columns[i], true);
               }
-
         }
       else
         {
-
           // make sure that the columns filled by the this object
           // all show up with sufficient accuracy and in scientific notation
             const char *columns[] = { "Radial RMS velocity (m/s)",
@@ -135,7 +134,6 @@ namespace aspect
                 statistics.set_precision (columns[i], 8);
                 statistics.set_scientific (columns[i], true);
               }
-          
         }
 
       std::ostringstream output;



More information about the CIG-COMMITS mailing list