aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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