diff options
author | allen <allen@5633253d-7678-4964-a54d-f87795f8ee59> | 2002-12-22 22:13:28 +0000 |
---|---|---|
committer | allen <allen@5633253d-7678-4964-a54d-f87795f8ee59> | 2002-12-22 22:13:28 +0000 |
commit | 7a4d027bf05e9c29ae5f654ab47e6283c6385984 (patch) | |
tree | 87fb1669612775c091f545bd9ab9e03edd3e3175 /schedule.ccl | |
parent | d0aff2cc6d5c896d7492f87c5da8e619e26364bf (diff) |
Patch for halting at cctk_final_time when using Courant timestep from Ian Hawke
Fixes CactusBase/1345
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Time/trunk@53 5633253d-7678-4964-a54d-f87795f8ee59
Diffstat (limited to 'schedule.ccl')
-rw-r--r-- | schedule.ccl | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/schedule.ccl b/schedule.ccl index 65f8b4f..927b5a1 100644 --- a/schedule.ccl +++ b/schedule.ccl @@ -23,7 +23,12 @@ else if (CCTK_Equals (timestep_method, "courant_speed") || LANG: C } "Set timestep based on Courant condition" - schedule Time_Courant at CCTK_PRESTEP + schedule Time_Courant at CCTK_POSTINITIAL + { + LANG: C + } "Reset timestep each iteration" + + schedule Time_Courant at CCTK_POSTSTEP { LANG: C } "Reset timestep each iteration" |