[cig-commits] commit: minor fix to ensure interpolateRestarts launch correctly
Mercurial
hg at geodynamics.org
Mon Feb 1 15:31:48 PST 2010
changeset: 375:3e7d7877c283
branch: 1.4.x
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 8552d351f5a5 -r 3e7d7877c283 Utils/src/PCDVC.c
--- a/Utils/src/PCDVC.c Wed Jan 06 17:45:44 2010 +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