diff options
author | schnetter <schnetter@b61c5cb5-eaca-4651-9a7a-d64986f99364> | 2005-03-24 15:12:15 +0000 |
---|---|---|
committer | schnetter <schnetter@b61c5cb5-eaca-4651-9a7a-d64986f99364> | 2005-03-24 15:12:15 +0000 |
commit | 0d0bd82cbd63aaae48487349d09c5b8163ca4f77 (patch) | |
tree | 2363fadeb84b93a231a72396d41ce875ead9b691 | |
parent | be8584e58f4dec39fc3f209ca1126908598398e4 (diff) |
Correct termination criterion when dt<0
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@461 b61c5cb5-eaca-4651-9a7a-d64986f99364
-rw-r--r-- | src/Evolve.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Evolve.c b/src/Evolve.c index d0cd633..674ebb9 100644 --- a/src/Evolve.c +++ b/src/Evolve.c @@ -195,7 +195,7 @@ static int DoneMainLoop (const cGH *GH, CCTK_REAL simulation_time,int iteration) { max_iteration_reached = iteration >= cctk_itlast; - if (cctk_initial_time < cctk_final_time) + if (GH->cctk_delta_time > 0) { max_simulation_time_reached = simulation_time >= cctk_final_time - 1.0e-6 * GH->cctk_delta_time; } |