aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorknarf <knarf@c83d129a-5a75-4d5a-9c4d-ed3a5855bf45>2012-10-23 20:45:06 +0000
committerknarf <knarf@c83d129a-5a75-4d5a-9c4d-ed3a5855bf45>2012-10-23 20:45:06 +0000
commit67d3289930238de2e37242845685a189b4ef6f1e (patch)
tree96007b5049fa8cb904660e28931b8702a19a96ba
parenta781bcbd175a90db6205c49bb7d2ba8529edbcd0 (diff)
use an early atmosphere reset to ensure past timelevels are initialized correctly. This does not work for relative settings, but at least for absolute ones. See ticket #1071 for more information
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEvolve/GRHydro/trunk@423 c83d129a-5a75-4d5a-9c4d-ed3a5855bf45
-rw-r--r--schedule.ccl8
1 files changed, 8 insertions, 0 deletions
diff --git a/schedule.ccl b/schedule.ccl
index f9687ac..cc5ce5a 100644
--- a/schedule.ccl
+++ b/schedule.ccl
@@ -541,6 +541,14 @@ schedule GRHydro_SetupMask AT POSTREGRIDINITIAL BEFORE HydroBase_PostStep AFTER
LANG: Fortran
} "Initialize the atmosphere mask"
+# Early atmosphere reset. This will not capture relative atmosphere settings (rho_rel_min) which
+# is scheduled later. However, this will ensure that all time and refinement levels are handled
+# correctly for rho_abs_min set.
+schedule GRHydro_InitialAtmosphereReset AT CCTK_Initial AFTER HydroBase_Initial BEFORE HydroBase_Prim2ConInitial
+{
+ LANG: Fortran
+} "Use mask to enforce atmosphere at initial time"
+
if (wk_atmosphere)
{
schedule GRHydro_InitAtmosMask AT CCTK_PostInitial