aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
diff options
context:
space:
mode:
authoreschnett <eschnett@578cdeb0-5ea1-4b81-8215-5a3b8777ee0b>2013-04-05 14:48:01 +0000
committereschnett <eschnett@578cdeb0-5ea1-4b81-8215-5a3b8777ee0b>2013-04-05 14:48:01 +0000
commit12f40095586f64c0a84a8e82bd6a76ab8e2a255c (patch)
tree3c4df3e89f6508ed39ef7d67746524409f2425a4 /schedule.ccl
parent6e544c36ad6d83ff97abd91a740dcd92e560233d (diff)
Allow skipping MoL's initial copy from past to current timelevel
This can be used as performance improvement, if timelevel cycling is also modified to perform this copy instead. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@196 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
Diffstat (limited to 'schedule.ccl')
-rw-r--r--schedule.ccl9
1 files changed, 6 insertions, 3 deletions
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. ###