[cig-commits] commit: Do not advect if taking the very first step after a restart
Mercurial
hg at geodynamics.org
Thu Oct 27 18:12:56 PDT 2011
changeset: 814:46eb6de0c561
tag: tip
user: Walter Landry <wlandry at caltech.edu>
date: Thu Oct 27 18:11:20 2011 -0700
files: Base/Context/src/AbstractContext.cxx
description:
Do not advect if taking the very first step after a restart
diff -r 762bfb483813 -r 46eb6de0c561 Base/Context/src/AbstractContext.cxx
--- a/Base/Context/src/AbstractContext.cxx Sat Oct 22 19:00:22 2011 -0700
+++ b/Base/Context/src/AbstractContext.cxx Thu Oct 27 18:11:20 2011 -0700
@@ -894,7 +894,7 @@ void _AbstractContext_Step( void* _conte
/* Call updateClassK first, to advect and remesh. Then solve
on the new mesh. Do not advect etc. if this is the first
step. */
- if(self->timeStep!=0)
+ if(self->timeStep!=self->restartTimestep)
{
KeyCall( self, self->updateClassK, EntryPoint_Class_VoidPtr_CallCast* )( KeyHandle(self,self->updateClassK), self );
}
More information about the CIG-COMMITS
mailing list