diff options
author | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-03-20 21:39:24 +0000 |
---|---|---|
committer | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-03-20 21:39:24 +0000 |
commit | a3e667333688304bcf77188a4c396b96ae6df66c (patch) | |
tree | 8000770fc574fa3b4f7b4c0b19e5e0467ed40475 /src/main/CactusDefaultEvolve.c | |
parent | 4152578de0c44a749a516ae1a93d6068ecfc8b7a (diff) |
Getting the right logic for stopping the iterations
git-svn-id: http://svn.cactuscode.org/flesh/trunk@406 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/main/CactusDefaultEvolve.c')
-rw-r--r-- | src/main/CactusDefaultEvolve.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/main/CactusDefaultEvolve.c b/src/main/CactusDefaultEvolve.c index 97b2e2a7..9477f5d2 100644 --- a/src/main/CactusDefaultEvolve.c +++ b/src/main/CactusDefaultEvolve.c @@ -6,6 +6,9 @@ Default cactus evolution stuff. @enddesc @@*/ + +#define DEBUG + #include <stdio.h> #include "flesh.h" @@ -73,10 +76,14 @@ int CactusDefaultEvolve(tFleshConfig *config) iteration = cctk_itfirst; - while (iteration<=cctk_itlast) + while (iteration<cctk_itlast) { iteration++; +#ifdef DEBUG + printf("Starting iteration number ... %d\n",iteration); +#endif + /* Step each convergence level */ |