From c4901f263023a872949bd585cddabef7dd9151d3 Mon Sep 17 00:00:00 2001 From: jthorn Date: Fri, 4 Jun 2004 10:55:51 +0000 Subject: [[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 --- schedule.ccl | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'schedule.ccl') 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)" + } ######################################## -- cgit v1.2.3