diff options
-rw-r--r-- | param.ccl | 6 | ||||
-rw-r--r-- | schedule.ccl | 5 | ||||
-rw-r--r-- | src/SetMask.c | 2 |
3 files changed, 9 insertions, 4 deletions
@@ -5,9 +5,9 @@ STRING SetMask_MaskName "Full variable name of the mask to be set" ".+" :: "Any full Cactus variable name, GF of type CCTK_BYTE" } "HydroBase::hydro_excision_mask" -BOOLEAN SetMask_ResetAll "'yes' (default): Overwrite complete mask, 'no': Only set excision points" -{ -} "yes" +#BOOLEAN SetMask_ResetAll "'yes' (default): Overwrite complete mask, 'no': Only set excision points" +#{ +#} "yes" CCTK_INT SetMask_SurfaceIndex[10] "Index of spherical surface to use to set mask" { diff --git a/schedule.ccl b/schedule.ccl index 02c47b9..f927a0f 100644 --- a/schedule.ccl +++ b/schedule.ccl @@ -6,3 +6,8 @@ schedule SetMask_SphericalSurface AT CCTK_POSTSTEP after SphericalSurface_HasBee options: global loop-local } "Set hydro_excision_mask according to spherical surface information" +schedule SetMask_SphericalSurface IN HydroBase_ExcisionMaskSetup after HydroBase_InitExcisionMask +{ + LANG: C + options: global loop-local +} "Set hydro_excision_mask according to spherical surface information" diff --git a/src/SetMask.c b/src/SetMask.c index cef8aea..c2c5541 100644 --- a/src/SetMask.c +++ b/src/SetMask.c @@ -34,7 +34,7 @@ void SetMask_SphericalSurface (CCTK_ARGUMENTS) { mask[i3D] = HYDRO_EXCISION_EXCISED; } - else if (SetMask_ResetAll) + else// if (SetMask_ResetAll) { mask[i3D] = HYDRO_EXCISION_NORMAL; } |