diff options
author | rhaas <rhaas@c83d129a-5a75-4d5a-9c4d-ed3a5855bf45> | 2012-07-05 05:36:45 +0000 |
---|---|---|
committer | rhaas <rhaas@c83d129a-5a75-4d5a-9c4d-ed3a5855bf45> | 2012-07-05 05:36:45 +0000 |
commit | a06e51741c75f05d074aa2e3ebaac42282158abc (patch) | |
tree | 1ca02c67023d8cb04e5bfd9a749cfbb266c03736 /schedule.ccl | |
parent | ebb0ed1705f7253bdb81d6a638f0a7443fd014fa (diff) |
GRHydro: copy integer atmosphere mask in Post_Recover_Variables
this is required since the real valued atmosphere mask is not
checkpointed. It is valid since atmosphere_mask_real is non-zero
wherever atmosphere_mask is non-zero due to GRHydroUpdateAtmosphereMask
and atmosphere_mask is non-zero wherever atmosphere_mask_real is
non-zero because of GRHydroPostSyncAtmosphereMask, ie. the two masks are
non-zero/zero at the same points.
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinEvolve/GRHydro/trunk@383 c83d129a-5a75-4d5a-9c4d-ed3a5855bf45
Diffstat (limited to 'schedule.ccl')
-rw-r--r-- | schedule.ccl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/schedule.ccl b/schedule.ccl index 9965309..d32f003 100644 --- a/schedule.ccl +++ b/schedule.ccl @@ -485,6 +485,13 @@ schedule GRHydro_SetupMask AT CCTK_Initial BEFORE HydroBase_Initial LANG: Fortran } "Initialize the atmosphere mask" +# alternatively drop support for wk_atmosphere and schedule GRHydro_SetupMask +# only in CCTK_BaseGrid +schedule GRHydroCopyIntegerMask AT CCTK_POST_RECOVER_VARIABLES BEFORE HydroBase_PostStep +{ + LANG: Fortran +} "Initialize the real valued atmosphere mask after checkpoint recovery" + # If using mesh refinement schedule GRHydro_SetupMask AT POSTREGRID BEFORE MoL_PostStep AFTER (MaskOne,MaskZero) { |