[cig-commits] r14300 - long/3D/SNAC/trunk/Snac/plugins/hillSlope
cstark at geodynamics.org
cstark at geodynamics.org
Thu Mar 12 09:31:24 PDT 2009
Author: cstark
Date: 2009-03-12 09:31:24 -0700 (Thu, 12 Mar 2009)
New Revision: 14300
Modified:
long/3D/SNAC/trunk/Snac/plugins/hillSlope/CreateWeakPoints.c
long/3D/SNAC/trunk/Snac/plugins/hillSlope/Track.c
Log:
Turned on limited reporting in hillSlope Track.c to indicate state of tracking on threads containing surface nodes.
Modified: long/3D/SNAC/trunk/Snac/plugins/hillSlope/CreateWeakPoints.c
===================================================================
--- long/3D/SNAC/trunk/Snac/plugins/hillSlope/CreateWeakPoints.c 2009-03-12 04:32:08 UTC (rev 14299)
+++ long/3D/SNAC/trunk/Snac/plugins/hillSlope/CreateWeakPoints.c 2009-03-12 16:31:24 UTC (rev 14300)
@@ -65,7 +65,7 @@
#define PATH_MAX 1024
#endif
-//#define DEBUG
+#define DEBUG
/*
@@ -111,7 +111,7 @@
*/
if(!contextExt->consensusElasticStabilizedFlag || contextExt->seedingCompletedFlag
|| (contextExt->solveElasticEqmOnlyFlag)) {
-#ifdef DEBUG
+#ifdef DEBUG2
fprintf(stderr,"Bailing from CWP: consensusElasticStabilized=%d, seedingCompletedFlag=%d, solveElasticEqmOnlyFlag=%d\n",
contextExt->consensusElasticStabilizedFlag, contextExt->seedingCompletedFlag, contextExt->solveElasticEqmOnlyFlag);
#endif
Modified: long/3D/SNAC/trunk/Snac/plugins/hillSlope/Track.c
===================================================================
--- long/3D/SNAC/trunk/Snac/plugins/hillSlope/Track.c 2009-03-12 04:32:08 UTC (rev 14299)
+++ long/3D/SNAC/trunk/Snac/plugins/hillSlope/Track.c 2009-03-12 16:31:24 UTC (rev 14300)
@@ -45,7 +45,7 @@
#endif
//#define DEBUG
-//#define DEBUG2
+#define DEBUG2
//#define DEBUG3
#define DEBUG4
@@ -185,6 +185,7 @@
}
#ifdef DEBUG2
+ if (reachesTopFlag)
fprintf(stderr,
"r=%d, ts=%d/%d: top?=%d tracking?=%d eqm?=%d consensus?=%d: max_vel=%g unit_vel=%g\n",
context->rank, context->timeStep, context->maxTimeSteps, reachesTopFlag,
More information about the CIG-COMMITS
mailing list