diff options
author | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2003-12-03 23:25:24 +0000 |
---|---|---|
committer | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2003-12-03 23:25:24 +0000 |
commit | cada3378b043d7c8c0e7ee28ecc7087182d311ae (patch) | |
tree | 9ba537a8768a87bbfc2e4460d3aaf582c628928c /schedule.ccl | |
parent | 75e72eb8d538dd35632d3228cb4cbd059e3942d2 (diff) |
At Ian Hawke's request, make the setting of an excision mask specifyable
on a per-horizon basis:
The old parameter set_mask is now replaced by two new parameters:
set_mask_for_all_horizons
set_mask_for_individual_horizon[n]
For most purposes, you can just change set_mask to
set_mask_for_all_horizons in your parameter files. If you
really want to control the setting of the mask on a per-horizon basis,
read section 4.6 in the thorn guide to find out how the new parameters
work.
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1222 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'schedule.ccl')
-rw-r--r-- | schedule.ccl | 53 |
1 files changed, 25 insertions, 28 deletions
diff --git a/schedule.ccl b/schedule.ccl index 0f6d05d..4ea2702 100644 --- a/schedule.ccl +++ b/schedule.ccl @@ -27,34 +27,31 @@ if (find_every != 0) } "announce horizon position(s) to other thorns" } - if (set_mask != 0) - { - # - # *** KLUDGE *** - # - # We would really like to give this routine the - # options:global - # attribute, so it only runs on those time levels where - # we've found (or at least tried to fnid) horizons. But - # this doesn't work, because we need a GH -- and the other - # thorns' routines we call need valid grid variables in - # it -- in the announcing code, and options:global - # routines don't have a "normal" GH, but instead a special - # one without usual grid variables defined in the usual - # manner. - # - # So, what to do? The present kludge is to have this - # routine called on every grid, then have it explicitly - # test if it's at a horizon-finding time and on a base - # grid. - # - schedule AHFinderDirect_do_masks at CCTK_ANALYSIS \ - after AHFinderDirect_find_horizons - { - lang: C - triggers: always - } "set mask(s) based on apparent horizon position(s)" - } + # + # *** KLUDGE *** + # + # We would really like to give this routine the + # options:global + # attribute, so it only runs on those time levels where + # we've found (or at least tried to fnid) horizons. But + # this doesn't work, because we need a GH -- and the other + # thorns' routines we call need valid grid variables in + # it -- in the announcing code, and options:global + # routines don't have a "normal" GH, but instead a special + # one without usual grid variables defined in the usual + # manner. + # + # So, what to do? The present kludge is to have this + # routine called on every grid, then have it explicitly + # test if it's at a horizon-finding time and on a base + # grid. + # + schedule AHFinderDirect_maybe_do_masks at CCTK_ANALYSIS \ + after AHFinderDirect_find_horizons + { + lang: C + triggers: always + } "set mask(s) based on apparent horizon position(s)" } ######################################## |