[cig-commits] commit: minor fix to ensure interpolateRestarts launch correctly
Mercurial
hg at geodynamics.org
Mon Feb 1 15:31:49 PST 2010
changeset: 376:10ca90119f39
branch: pcu_rejig
parent: 372:35dbd6417fab
user: John Mansour <john.mansour at maths.monash.edu.au>
date: Thu Jan 07 16:52:55 2010 +1100
files: Utils/src/PCDVC.c
description:
minor fix to ensure interpolateRestarts launch correctly
diff -r 35dbd6417fab -r 10ca90119f39 Utils/src/PCDVC.c
--- a/Utils/src/PCDVC.c Tue Dec 22 13:06:58 2009 +1100
+++ b/Utils/src/PCDVC.c Thu Jan 07 16:52:55 2010 +1100
@@ -287,11 +287,10 @@ void _PCDVC_Destroy( void* pcdvc, void*
}
void _PCDVC_Initialise( void* pcdvc, void* data ) {
PCDVC* self = (PCDVC*)pcdvc;
- AbstractContext* context = (AbstractContext*)data;
/** for interpolation restart, we need to set these values high to ensure correct population of */
/** integration point swarms */
/** these parameters will be reset to correct values after first timestep */
- if ( context && (True == context->loadFromCheckPoint) && (True == context->interpolateRestart) ){
+ if ( (True == self->context->loadFromCheckPoint) && (True == self->context->interpolateRestart) ){
self->maxDeletions = 999999;
self->maxSplits = 999999;
self->Inflow = True;
More information about the CIG-COMMITS
mailing list