diff options
author | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2003-07-28 11:37:45 +0000 |
---|---|---|
committer | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2003-07-28 11:37:45 +0000 |
commit | aef2c7825b02ab8a72292b13e4718d1f8eebd572 (patch) | |
tree | 2fff66bc61a723354557f566042259e8cf815d56 /schedule.ccl | |
parent | 2fbe4681d0324bf2b02422a2abc55db3e4cac779 (diff) |
replace Boolean parameter find_AHs
with new integer parameter find_every
so user can choose how often to find AHs
(with Carpet, at present you can only find AHs on a time level
where the coarsest grid is defined ==> you must use find_every )
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1153 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'schedule.ccl')
-rw-r--r-- | schedule.ccl | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/schedule.ccl b/schedule.ccl index 0af9e2d..f617fe7 100644 --- a/schedule.ccl +++ b/schedule.ccl @@ -7,22 +7,22 @@ schedule AHFinderDirect_setup at CCTK_BASEGRID after SpatialCoordinates options: global } "setup data structures" -if (find_AHs != 0) +if (find_every != 0) { schedule AHFinderDirect_find_horizons at CCTK_POSTSTEP { lang: C options: global } "find apparent horizon(s) after this time step" - } -if ((find_AHs != 0) && (set_mask != 0)) - { - schedule AHFinderDirect_do_masks at CCTK_POSTSTEP \ - after AHFinderDirect_find_horizons - { - lang: C - } "set mask(s) based on apparent horizon position(s)" + if (set_mask != 0) + { + schedule AHFinderDirect_do_masks at CCTK_POSTSTEP \ + after AHFinderDirect_find_horizons + { + lang: C + } "set mask(s) based on apparent horizon position(s)" + } } ######################################## |