aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
diff options
context:
space:
mode:
Diffstat (limited to 'schedule.ccl')
-rw-r--r--schedule.ccl18
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)"
+ }
}
########################################