aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
diff options
context:
space:
mode:
Diffstat (limited to 'schedule.ccl')
-rw-r--r--schedule.ccl7
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"