From dc8e97d5f338fa130287204094edd63f576a498f Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Sat, 1 Jun 2013 12:41:16 +0000 Subject: [PATCH] don't force Gmsh/changed on loops; forcing _firstComputation=false should be enough --- Common/onelabUtils.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Common/onelabUtils.cpp b/Common/onelabUtils.cpp index 02fd8ccee7..a81f918f35 100644 --- a/Common/onelabUtils.cpp +++ b/Common/onelabUtils.cpp @@ -141,12 +141,8 @@ namespace onelabUtils { } } - // force this to make sure that we remesh, even if a mesh exists and we did - // not actually change a Gmsh parameter - if(changed){ - setFirstComputationFlag(false); - onelab::server::instance()->setChanged(true, "Gmsh"); - } + // force this to make sure that we remesh, even if a mesh exists on disk + if(changed) setFirstComputationFlag(false); } bool incrementLoop(const std::string &level) -- GitLab