aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--param.ccl4
-rw-r--r--schedule.ccl9
2 files changed, 10 insertions, 3 deletions
diff --git a/param.ccl b/param.ccl
index cce525f..34282d1 100644
--- a/param.ccl
+++ b/param.ccl
@@ -191,6 +191,10 @@ BOOLEAN disable_prolongation "If Mesh refinement is enabled should we use buffer
+BOOLEAN skip_initial_copy "Skip initial copy from previous to current time level" STEERABLE=recover
+{
+} "no"
+
BOOLEAN init_RHS_zero "Initialise the RHS to zero" STEERABLE=recover
{
} "yes"
diff --git a/schedule.ccl b/schedule.ccl
index e08aa3c..6d607ba 100644
--- a/schedule.ccl
+++ b/schedule.ccl
@@ -461,10 +461,13 @@ schedule GROUP MoL_PreStep IN MoL_Evolution AFTER MoL_StartStep BEFORE MoL_Step
### the physics thorn knows where to find it. ###
#################################################################
-schedule MoL_InitialCopy IN MoL_Evolution AFTER MoL_PreStep BEFORE MoL_Step
+if (!skip_initial_copy)
{
- LANG: C
-} "Ensure the data is in the correct timelevel"
+ schedule MoL_InitialCopy IN MoL_Evolution AFTER MoL_PreStep BEFORE MoL_Step
+ {
+ LANG: C
+ } "Ensure the data is in the correct timelevel"
+}
#################################################
### The actual loop which updates the data. ###