aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
diff options
context:
space:
mode:
authorjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2002-09-03 15:03:55 +0000
committerjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2002-09-03 15:03:55 +0000
commitb3482ef3124448972e548a02a28274253ca86060 (patch)
treeef2151d43fc3980d3b9d2bfb391c37b626811d4d /schedule.ccl
parent2aa301a2f32aac28e9e19dce354a6267493c13ae (diff)
changes to properly use Cactus schedule bins (--> can find AH at each time step)
and to handle finding multiple AHs in a single slice git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@698 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'schedule.ccl')
-rw-r--r--schedule.ccl34
1 files changed, 25 insertions, 9 deletions
diff --git a/schedule.ccl b/schedule.ccl
index d648d79..2b2c5eb 100644
--- a/schedule.ccl
+++ b/schedule.ccl
@@ -1,21 +1,37 @@
# Schedule definitions for thorn AHFinderDirect
# $Header$
-#
-# FIXME:
-# we'd like to schedule at ANALYSIS, but that doesn't get run unless
-# some trigger variable is being output at this time step
-# ==> quick-n-dirty hack for now: just schedule at POSTINITIAL
-#
-
##schedule test_patch_system at CCTK_POSTINITIAL
##{
##LANG: C
##OPTIONS: global
##} "test driver to verify that src/util/ and src/jtutil/ code works properly"
-schedule AHFinderDirect_driver at CCTK_POSTINITIAL
+schedule AHFinderDirect_setup at CCTK_BASEGRID after SpatialCoordinates
+{
+lang: C
+options: global
+} "setup data structures"
+
+schedule AHFinderDirect_initial_guess at CCTK_INITIAL
{
lang: C
options: global
-} "find apparent horizon(s)"
+} "set initial guess"
+
+if (find_AHs_at_postinitial != 0)
+ {
+ schedule AHFinderDirect_find_horizons at CCTK_POSTINITIAL
+ {
+ lang: C
+ options: global
+ } "find apparent horizon(s) in initial data"
+ }
+if (find_AHs_at_poststep != 0)
+ {
+ schedule AHFinderDirect_find_horizons at CCTK_POSTSTEP
+ {
+ lang: C
+ options: global
+ } "find apparent horizon(s) after this time step"
+ }