aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
diff options
context:
space:
mode:
Diffstat (limited to 'schedule.ccl')
-rw-r--r--schedule.ccl11
1 files changed, 8 insertions, 3 deletions
diff --git a/schedule.ccl b/schedule.ccl
index 84b646f..2399f7f 100644
--- a/schedule.ccl
+++ b/schedule.ccl
@@ -8,8 +8,7 @@ if (CCTK_Equals(courant_method,"standard"))
LANG: C
} "Set timestep based on Courant condition"
}
-
-if (CCTK_Equals(courant_method,"courant") || CCTK_Equals(courant_method,"courant_time"))
+else if (CCTK_Equals(courant_method,"courant") || CCTK_Equals(courant_method,"courant_time"))
{
schedule Time_Simple at CCTK_BASEGRID after SpatialCoordinates
{
@@ -21,6 +20,12 @@ if (CCTK_Equals(courant_method,"courant") || CCTK_Equals(courant_method,"courant
LANG: C
} "Reset timestep each iteration"
}
-
+else
+{
+ schedule Time_Given at CCTK_BASEGRID
+ {
+ LANG: C
+ } "Set fixed timestep"
+}