From: michael Date: Thu, 13 Jan 2022 17:29:55 +0000 (+0100) Subject: Delete mesh in memory after first time step X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4522e837b1690e8849152c25618d647fd9f6037c;p=tools%2Fsolverlab.git Delete mesh in memory after first time step --- diff --git a/CoreFlows/Models/src/SinglePhase.cxx b/CoreFlows/Models/src/SinglePhase.cxx index 759182d..e35f259 100755 --- a/CoreFlows/Models/src/SinglePhase.cxx +++ b/CoreFlows/Models/src/SinglePhase.cxx @@ -3090,6 +3090,10 @@ void SinglePhase::save(){ } } + if (_nbTimeStep ==0 || _restartWithNewFileName){ // delete mesh in memory + _VV.deleteMEDCouplingMesh(); + _UU.deleteMEDCouplingMesh(); + } if (_restartWithNewFileName) _restartWithNewFileName=false; }