aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
diff options
context:
space:
mode:
Diffstat (limited to 'schedule.ccl')
-rw-r--r--schedule.ccl18
1 files changed, 15 insertions, 3 deletions
diff --git a/schedule.ccl b/schedule.ccl
index cf0d358..e7c485c 100644
--- a/schedule.ccl
+++ b/schedule.ccl
@@ -417,11 +417,9 @@ schedule MoL_SetCounter IN MoL_StartStep
} "Set the counter for the ODE method to loop over"
########################################################
-### Note that the option GLOBAL here is to ensure ###
+### Note that the option LEVEL here is to ensure ###
### that the time is set once per refinement level ###
### and not once overall. ###
-### I think with current implementations this is ###
-### not required. ###
########################################################
schedule MoL_SetTime IN MoL_StartStep
@@ -430,6 +428,18 @@ schedule MoL_SetTime IN MoL_StartStep
OPTIONS: LEVEL
} "Ensure the correct time and timestep are used"
+#####################################################
+### A truncated version of the above routine to ###
+### ensure that all is correct for the OldBdry ###
+### wrapper routines when run in POSTINITIAL. ###
+#####################################################
+
+schedule MoL_SetInitialTime AT INITIAL
+{
+ LANG: C
+ OPTIONS: LEVEL
+} "Ensure the correct time and timestep are used - initial"
+
#################################################################
### PreStep is where physics thorns can do their own setup. ###
### This would include scheduling the function calls to ###
@@ -648,11 +658,13 @@ schedule GROUP MoL_OldStyleBoundaries in MoL_OldBdry_Wrap
schedule MoL_OldBdry_SetDt IN MoL_OldBdry_Wrap BEFORE MoL_OldStyleBoundaries
{
LANGUAGE: C
+ OPTIONS: LEVEL
} "Store and change dt"
schedule MoL_OldBdry_ResetDt IN MoL_OldBdry_Wrap AFTER MoL_OldStyleBoundaries
{
LANGUAGE: C
+ OPTIONS: LEVEL
} "Reset dt"
#################################################