[cig-commits] commit 2007 by bangerth to /var/svn/dealii/aspect

dealii.demon at gmail.com dealii.demon at gmail.com
Sun Nov 3 16:16:48 PST 2013


Revision 2007

Minor documentation edit.

U   trunk/aspect/source/simulator/checkpoint_restart.cc


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

Diff:
Modified: trunk/aspect/source/simulator/checkpoint_restart.cc
===================================================================
--- trunk/aspect/source/simulator/checkpoint_restart.cc	2013-11-02 23:37:34 UTC (rev 2006)
+++ trunk/aspect/source/simulator/checkpoint_restart.cc	2013-11-04 00:15:48 UTC (rev 2007)
@@ -90,9 +90,9 @@
       triangulation.save ((parameters.output_directory + "restart.mesh").c_str());
     }
 
-    // save general information
-    // This calls the serialization functions on all processes,
-    // but only writes to the restart.resume.z file on process 0
+    // save general information This calls the serialization functions on all
+    // processes (so that they can take additional action, if necessary, see
+    // the manual) but only writes to the restart file on process 0
     {
       std::ostringstream oss;
 
@@ -100,7 +100,7 @@
       aspect::oarchive oa (oss);
       oa << (*this);
 
-      //compress with zlib and write to file
+      // compress with zlib and write to file on the root processor
       if (my_id == 0)
         {
           uLongf compressed_data_length = compressBound (oss.str().length());


More information about the CIG-COMMITS mailing list