diff options
Diffstat (limited to 'schedule.ccl')
-rw-r--r-- | schedule.ccl | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/schedule.ccl b/schedule.ccl index b8aca19..33a3133 100644 --- a/schedule.ccl +++ b/schedule.ccl @@ -1,10 +1,21 @@ # Schedule definitions for thorn Time # $Header$ -schedule Time_Simple at CCTK_BASEGRID after CartGrid3D +if (CCTK_Equals(courant_method,"standard")) { - LANG: C -} "Set timestep based on speed one Courant condition" + schedule Time_Simple at CCTK_BASEGRID after CartGrid3D + { + LANG: C + } "Set timestep based on Courant condition" +} +if (CCTK_Equals(courant_method,"courant") || CCTK_Equals(courant_method,"courant_time")) +{ + schedule Time_Courant at CCTK_PRESTEP + { + LANG: C + } "Reset timestep each iteration" +} + |