aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhawke <hawke@a491c6a4-70bf-4b89-8b36-d6c0cb1f094e>2004-06-04 08:50:21 +0000
committerhawke <hawke@a491c6a4-70bf-4b89-8b36-d6c0cb1f094e>2004-06-04 08:50:21 +0000
commit7e483a30b750e030d7dee8a858094a70e36255b3 (patch)
tree8fd8b8f160696c5e731e88f0e93b2d98dc7fe649
parent6451cc25f55b63330b167ed2965ea44b707a506a (diff)
Initialize the mask grid functions after regridding. This has to be done as Carpet will not prolongate the mask.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/SpaceMask/trunk@44 a491c6a4-70bf-4b89-8b36-d6c0cb1f094e
-rw-r--r--schedule.ccl12
1 files changed, 12 insertions, 0 deletions
diff --git a/schedule.ccl b/schedule.ccl
index 5ffd607..41196f8 100644
--- a/schedule.ccl
+++ b/schedule.ccl
@@ -20,6 +20,12 @@ if (use_mask)
LANG: C
} "Set grid symmetries for mask"
+#Initialize the mask again for mesh refinement
+ schedule MaskZero at POSTREGRID
+ {
+ LANG: C
+ } "Initialise mask to zero"
+
#
# The following is for compatibility with current excision routines,
# and will be removed once they are up-to-date with the new mask
@@ -36,4 +42,10 @@ if (use_mask)
LANG: C
} "Set mask to one"
+#Initialize the mask again for mesh refinement
+ schedule MaskOne at POSTREGRID
+ {
+ LANG: C
+ } "Set mask to one"
+
}