[cig-commits] commit: removed (now) unused flag from context.

Mercurial hg at geodynamics.org
Mon Feb 1 15:33:21 PST 2010


changeset:   753:6b66bf8b766b
branch:      pcu_rejig
parent:      750:b8203aa9fb79
user:        John Mansour <john.mansour at maths.monash.edu.au>
date:        Wed Jan 06 09:15:03 2010 +1100
files:       Base/Context/src/AbstractContext.c Base/Context/src/AbstractContext.h
description:
removed (now) unused flag from context.


diff -r b8203aa9fb79 -r 6b66bf8b766b Base/Context/src/AbstractContext.c
--- a/Base/Context/src/AbstractContext.c	Tue Dec 22 09:14:44 2009 +1100
+++ b/Base/Context/src/AbstractContext.c	Wed Jan 06 09:15:03 2010 +1100
@@ -828,21 +828,18 @@ void _AbstractContext_Execute_Hook( void
 		}	
 		if ( self->checkpointEvery ) {
 			if ( self->timeStep % self->checkpointEvery == 0 ){
-            self->isDataSave = False;
 				AbstractContext_Save( self );
          }
 		}	
 
 		if ( self->saveDataEvery ) {
 			if ( self->timeStep % self->saveDataEvery == 0 ){
-            self->isDataSave = True;
 				AbstractContext_DataSave( self );
          }
 		}	
 
 		if ( self->checkpointAtTimeInc ) {
 			if ( self->currentTime >= self->nextCheckpointTime){
-            self->isDataSave = False;
 				AbstractContext_Save( self );
 				self->nextCheckpointTime += self->checkpointAtTimeInc; 
 			}
diff -r b8203aa9fb79 -r 6b66bf8b766b Base/Context/src/AbstractContext.h
--- a/Base/Context/src/AbstractContext.h	Tue Dec 22 09:14:44 2009 +1100
+++ b/Base/Context/src/AbstractContext.h	Wed Jan 06 09:15:03 2010 +1100
@@ -128,8 +128,6 @@
 			resolution (where resolution is different from checkpoints) */ \
 		Bool							interpolateRestart; \
 		Bool							loadFromCheckPoint; \
-		/** Bool to determine whether we are storing a full checkpoint (for restart) or only data for analysis */ \
-		Bool							isDataSave; \
 		/** flattened XML output can be disabled if desired (default True) */ \
 		Bool							outputFlattenedXML; \
 		unsigned int				restartTimestep; \



More information about the CIG-COMMITS mailing list