aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--schedule.ccl9
1 files changed, 9 insertions, 0 deletions
diff --git a/schedule.ccl b/schedule.ccl
index 1464fcb..bf0675e 100644
--- a/schedule.ccl
+++ b/schedule.ccl
@@ -55,6 +55,15 @@ if (find_every != 0)
{
lang: C
} "maybe set mask(s) based on apparent horizon position(s)"
+
+ # if using mesh refinement, reset the mask after regridding
+ # if not using mesh refinement, POSTREGRID is ignored so this is a no-op
+ schedule AHFinderDirect_maybe_do_masks at POSTREGRID \
+ after (MaskOne MaskZero)
+ {
+ lang: C
+ } "maybe set mask(s) based on apparent horizon position(s)"
+
}
########################################