From: Roger Fu Date: Thu, 23 Feb 2017 23:51:11 +0000 (-0500) Subject: added comment about appending to physical_time.txt in case of interruption X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F24%2Fhead;p=code-gallery.git added comment about appending to physical_time.txt in case of interruption --- diff --git a/CeresFE/src/ceres.cc b/CeresFE/src/ceres.cc index ce13a9f..d47a70e 100644 --- a/CeresFE/src/ceres.cc +++ b/CeresFE/src/ceres.cc @@ -687,8 +687,9 @@ void StokesProblem::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());