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

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


changeset:   752:e3108670f756
branch:      1.4.x
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 74a0fcf2ce41 -r e3108670f756 Base/Context/src/AbstractContext.c
--- a/Base/Context/src/AbstractContext.c	Tue Dec 22 15:45:34 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 74a0fcf2ce41 -r e3108670f756 Base/Context/src/AbstractContext.h
--- a/Base/Context/src/AbstractContext.h	Tue Dec 22 15:45:34 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