aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
diff options
context:
space:
mode:
authorbentivegna <bentivegna@578cdeb0-5ea1-4b81-8215-5a3b8777ee0b>2012-10-24 22:11:15 +0000
committerbentivegna <bentivegna@578cdeb0-5ea1-4b81-8215-5a3b8777ee0b>2012-10-24 22:11:15 +0000
commitcc58419b92be7dff769e9617df6fab507cec674b (patch)
tree7d9db84f928a026dfed0c24ac316e08451971210 /schedule.ccl
parent619a5b93843da4cdd2e5c0f2fd668d72589f4783 (diff)
Introduce a parameter to choose whether MoL applies
boundary conditions (and synchronization, and prolongation) to the initial data. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/MoL/trunk@181 578cdeb0-5ea1-4b81-8215-5a3b8777ee0b
Diffstat (limited to 'schedule.ccl')
-rw-r--r--schedule.ccl14
1 files changed, 10 insertions, 4 deletions
diff --git a/schedule.ccl b/schedule.ccl
index 8dc65f9..48283fd 100644
--- a/schedule.ccl
+++ b/schedule.ccl
@@ -646,9 +646,12 @@ schedule GROUP MoL_PostStep IN MoL_Step AFTER MoL_Add
{
} "The group for physics thorns to schedule boundary calls etc."
-schedule GROUP MoL_PostStep AT PostInitial
+if (set_ID_boundaries)
{
-} "Ensure that everything is correct after the initial data have been set up"
+ schedule GROUP MoL_PostStep AT PostInitial
+ {
+ } "Ensure that everything is correct after the initial data have been set up"
+}
##################################################################
### Schedule the PostStep parts in the Carpet 'PostRegrid' ###
@@ -668,9 +671,12 @@ schedule GROUP MoL_PostStep AT PostRegrid
### expensive, but it's simplest for the moment. ###
##################################################################
-schedule GROUP MoL_PostStep AT PostRestrictInitial
+if (set_ID_boundaries)
{
-} "Ensure that everything is correct after restriction"
+ schedule GROUP MoL_PostStep AT PostRestrictInitial
+ {
+ } "Ensure that everything is correct after restriction"
+}
schedule GROUP MoL_PostStep AT PostRestrict
{