aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
diff options
context:
space:
mode:
authorjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2004-06-04 10:55:51 +0000
committerjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2004-06-04 10:55:51 +0000
commitc4901f263023a872949bd585cddabef7dd9151d3 (patch)
treed7c3a6a04d847345821d8447599bc464eebe1dfe /schedule.ccl
parent70f477d7dd91c5b9fdd57345ab3d128b5dc07f43 (diff)
[[change from Ian Hawke]]
If we're using mesh refinement, we need to re-set the mask after regridding. If we're not using mesh refinement, then the driver should ignore the POSTREGRID bin and this change is a no-op. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1361 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'schedule.ccl')
-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)"
+
}
########################################