aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
diff options
context:
space:
mode:
Diffstat (limited to 'schedule.ccl')
-rw-r--r--schedule.ccl21
1 files changed, 14 insertions, 7 deletions
diff --git a/schedule.ccl b/schedule.ccl
index 976857a..2baf8a4 100644
--- a/schedule.ccl
+++ b/schedule.ccl
@@ -5,18 +5,19 @@ if (use_mask)
{
STORAGE: space_mask_group
- schedule MaskZero at CCTK_INITIAL
+ schedule MaskZero at CCTK_BASEGRID
{
LANG: C
} "Initialise mask to zero"
- schedule MaskSym at CCTK_BASEGRID
+ schedule MaskSym at CCTK_WRAGH
{
LANG: C
+ OPTIONS: global
} "Set grid symmetries for mask"
#Initialize the mask again for mesh refinement
- schedule MaskZero at POSTREGRID
+ schedule MaskZero at CCTK_POSTREGRID
{
LANG: C
} "Initialise mask to zero"
@@ -27,18 +28,24 @@ if (use_mask)
# scheme.
#
STORAGE: mask
- schedule MaskSym_emask at CCTK_BASEGRID
+ schedule MaskSym_emask at CCTK_WRAGH
{
LANG: C
+ OPTIONS: global
} "Set grid symmetries for emask (compatibility mode)"
- schedule MaskOne at CCTK_INITIAL
+ schedule MaskOne at CCTK_BASEGRID
{
LANG: C
- } "Set mask to one"
+ } "Set old style mask to one"
+
+ schedule CheckMask at CCTK_POSTSTEP
+ {
+ LANG: C
+ } "Ensure that all mask values are legal"
#Initialize the mask again for mesh refinement
- schedule MaskOne at POSTREGRID
+ schedule MaskOne at CCTK_POSTREGRID
{
LANG: C
} "Set mask to one"