aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--schedule.ccl10
1 files changed, 10 insertions, 0 deletions
diff --git a/schedule.ccl b/schedule.ccl
index 2baf8a4..fc3abea 100644
--- a/schedule.ccl
+++ b/schedule.ccl
@@ -17,6 +17,11 @@ if (use_mask)
} "Set grid symmetries for mask"
#Initialize the mask again for mesh refinement
+ schedule MaskZero at CCTK_POSTREGRIDINITIAL
+ {
+ LANG: C
+ } "Initialise mask to zero"
+
schedule MaskZero at CCTK_POSTREGRID
{
LANG: C
@@ -45,6 +50,11 @@ if (use_mask)
} "Ensure that all mask values are legal"
#Initialize the mask again for mesh refinement
+ schedule MaskOne at CCTK_POSTREGRIDINITIAL
+ {
+ LANG: C
+ } "Set mask to one"
+
schedule MaskOne at CCTK_POSTREGRID
{
LANG: C