]> https://gitweb.dealii.org/ - code-gallery.git/commitdiff
added comment about appending to physical_time.txt in case of interruption 24/head
authorRoger Fu <rogerfu12@gmail.com>
Thu, 23 Feb 2017 23:51:11 +0000 (18:51 -0500)
committerRoger Fu <rogerfu12@gmail.com>
Thu, 23 Feb 2017 23:51:11 +0000 (18:51 -0500)
CeresFE/src/ceres.cc

index ce13a9f8ec77b198e91e5c93344c466aab16119b..d47a70e5ba75118bd09df09168e4b4eb95f03f01 100644 (file)
@@ -687,8 +687,9 @@ void StokesProblem<dim>::assemble_system() {
                                ExcInternalError());
                
                double cell_area = cell->measure();
+               
                if(cell_area<0)
-                       append_physical_times(-1);
+                       append_physical_times(-1); // This writes final line to physical_times.txt if step terminates prematurely
                AssertThrow(cell_area > 0
                        ,
                  ExcInternalError());

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.