From a85fc4411772a902e73771177ca8b6da040319a4 Mon Sep 17 00:00:00 2001 From: jthorn Date: Fri, 23 Dec 2005 14:19:10 +0000 Subject: add new option run_at_CCTK_POSTINITIAL git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1433 f88db872-0e4f-0410-b76b-b9085cfa78c5 --- schedule.ccl | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) (limited to 'schedule.ccl') diff --git a/schedule.ccl b/schedule.ccl index 3cd6cb0..92313c6 100644 --- a/schedule.ccl +++ b/schedule.ccl @@ -42,6 +42,20 @@ if (run_at_CCTK_POSTSTEP != 0) options: global } "maybe find apparent horizon(s) after this time step" } +if (run_at_CCTK_POSTINITIAL != 0) + { + schedule AHFinderDirect_update at CCTK_POSTINITIAL \ + before AHFinderDirect_find_horizons + { + lang: C + options: global + } "update internal data structures from steerable parameters" + schedule AHFinderDirect_find_horizons at CCTK_POSTINITIAL + { + lang: C + options: global + } "maybe find apparent horizon(s) after this time step" + } # # announce horizon positions to other thorns @@ -64,6 +78,15 @@ if (run_at_CCTK_POSTSTEP != 0) lang: C } "maybe announce horizon position(s) to other thorns" } +if (run_at_CCTK_POSTINITIAL != 0) + { + schedule AHFinderDirect_announce at CCTK_POSTINITIAL \ + before DriftCorrect \ + after AHFinderDirect_find_horizons + { + lang: C + } "maybe announce horizon position(s) to other thorns" + } # # store horizon info in SphericalSurface variables @@ -86,6 +109,15 @@ if (run_at_CCTK_POSTSTEP != 0) options: global } "maybe store horizon info in SphericalSurface variables" } +if (run_at_CCTK_POSTINITIAL != 0) + { + schedule AHFinderDirect_store_SS_info at CCTK_POSTINITIAL \ + after AHFinderDirect_find_horizons + { + lang: C + options: global + } "maybe store horizon info in SphericalSurface variables" + } # # set excision mask @@ -121,6 +153,14 @@ if (run_at_CCTK_POSTSTEP != 0) lang: C } "maybe set mask(s) based on apparent horizon position(s)" } +if (run_at_CCTK_POSTINITIAL != 0) + { + schedule AHFinderDirect_maybe_do_masks at CCTK_POSTINITIAL \ + after AHFinderDirect_find_horizons + { + 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 \ -- cgit v1.2.3