aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
diff options
context:
space:
mode:
authorrhaas <rhaas@c83d129a-5a75-4d5a-9c4d-ed3a5855bf45>2011-09-15 16:45:26 +0000
committerrhaas <rhaas@c83d129a-5a75-4d5a-9c4d-ed3a5855bf45>2011-09-15 16:45:26 +0000
commit4a1153954ec8fa5f84bdc0a7ff2e94436079b431 (patch)
tree2c4fb4925453983934b566d92eb60672cc47db06 /schedule.ccl
parentc1d720daaf5b837471db77629803bd7aa5c92e8c (diff)
introduce optimization that allows to turn off the
additional sync/settmunu after MoL is done. This will work only in runs that do not use an atmosphere. original commit by Christian Ott git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEvolve/GRHydro/trunk@269 c83d129a-5a75-4d5a-9c4d-ed3a5855bf45
Diffstat (limited to 'schedule.ccl')
-rw-r--r--schedule.ccl16
1 files changed, 9 insertions, 7 deletions
diff --git a/schedule.ccl b/schedule.ccl
index 72ab253..f1de45f 100644
--- a/schedule.ccl
+++ b/schedule.ccl
@@ -986,13 +986,15 @@ if (CCTK_Equals(Bvec_evolution_method,"GRHydro"))
} "Reset the atmosphere"
}
-schedule group HydroBase_Boundaries AT EVOL AFTER MoL_Evolution AFTER (GRHydro_AtmosphereReset GRHydro_AtmosphereResetM)
-{
-} "HydroBase Boundary conditions group"
-
-schedule GROUP SetTmunu AT EVOL AFTER HydroBase_Boundaries BEFORE MoL_PseudoEvolution
-{
-} "Calculate the stress-energy tensor"
+if(!disable_sync_and_tmunu_after_MoL) {
+ schedule group HydroBase_Boundaries AT EVOL AFTER MoL_Evolution AFTER (GRHydro_AtmosphereReset GRHydro_AtmosphereResetM)
+ {
+ } "HydroBase Boundary conditions group"
+
+ schedule GROUP SetTmunu AT EVOL AFTER HydroBase_Boundaries BEFORE MoL_PseudoEvolution
+ {
+ } "Calculate the stress-energy tensor"
+}
} # end of if (CCTK_EQUALS(hydrobase::evolution_method, "GRHydro"))