diff options
author | bentivegna <bentivegna@578cdeb0-5ea1-4b81-8215-5a3b8777ee0b> | 2012-10-24 22:11:15 +0000 |
---|---|---|
committer | bentivegna <bentivegna@578cdeb0-5ea1-4b81-8215-5a3b8777ee0b> | 2012-10-24 22:11:15 +0000 |
commit | cc58419b92be7dff769e9617df6fab507cec674b (patch) | |
tree | 7d9db84f928a026dfed0c24ac316e08451971210 | |
parent | 619a5b93843da4cdd2e5c0f2fd668d72589f4783 (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
-rw-r--r-- | param.ccl | 4 | ||||
-rw-r--r-- | schedule.ccl | 14 |
2 files changed, 14 insertions, 4 deletions
@@ -220,3 +220,7 @@ KEYWORD verbose "How verbose should MoL be?" "register" :: "List the variables registered as well" "extreme" :: "Everything you never wanted to know" } "normal" + +BOOLEAN set_ID_boundaries "Should boundaries be overwritten (via synchronization, prolongation, boundary conditions) by MoL?" +{ +} "yes" 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 { |