From 4a5060b39f4f1be9f6d0f46011c1160af6d0f8f3 Mon Sep 17 00:00:00 2001 From: Roger Fu Date: Thu, 23 Feb 2017 18:51:11 -0500 Subject: [PATCH] added comment about appending to physical_time.txt in case of interruption --- CeresFE/src/ceres.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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()); -- 2.39.5