[cig-commits] r14279 - long/3D/SNAC/trunk/Snac/plugins/hillSlope
cstark at geodynamics.org
cstark at geodynamics.org
Mon Mar 9 19:33:42 PDT 2009
Author: cstark
Date: 2009-03-09 19:33:39 -0700 (Mon, 09 Mar 2009)
New Revision: 14279
Modified:
long/3D/SNAC/trunk/Snac/plugins/hillSlope/Track.c
Log:
Correction to restart reporting in hillSlope Track.c
Modified: long/3D/SNAC/trunk/Snac/plugins/hillSlope/Track.c
===================================================================
--- long/3D/SNAC/trunk/Snac/plugins/hillSlope/Track.c 2009-03-10 02:00:02 UTC (rev 14278)
+++ long/3D/SNAC/trunk/Snac/plugins/hillSlope/Track.c 2009-03-10 02:33:39 UTC (rev 14279)
@@ -45,8 +45,8 @@
#endif
//#define DEBUG
-#define DEBUG2
-#define DEBUG3
+//#define DEBUG2
+//#define DEBUG3
#define DEBUG4
void SnacHillSlope_Track( void* _context ) {
@@ -270,7 +270,7 @@
maxTimeSteps=(!restart ? context->timeStep+1 : context->timeStep-context->restartStep+1);
doneTrackingFlag=TRUE;
#ifdef DEBUG4
- fprintf(stderr,"r=%d, ts=%d/%d: Shifting to elastoplastic simulation at step=%d\n",context->rank, context->timeStep,
+ fprintf(stderr,"r=%d, ts=%d/%d: Terminating simulation at step=%d\n",context->rank, context->timeStep,
context->maxTimeSteps, maxTimeSteps);
#endif
} else {
@@ -279,8 +279,8 @@
*/
dumpEvery=contextExt->plasticDeformationDumpFreq;
#ifdef DEBUG4
- fprintf(stderr,"r=%d, ts=%d/%d: Terminating simulation at step=%d\n",context->rank, context->timeStep,
- context->maxTimeSteps, maxTimeSteps);
+ fprintf(stderr,"r=%d, ts=%d/%d: Shifting to elastoplastic simulation at step=%d for %d more steps\n",context->rank, context->timeStep,
+ context->maxTimeSteps, context->timeStep, maxTimeSteps-(context->timeStep-context->restartStep));
#endif
}
}
More information about the CIG-COMMITS
mailing list