aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
diff options
context:
space:
mode:
Diffstat (limited to 'schedule.ccl')
-rw-r--r--schedule.ccl16
1 files changed, 9 insertions, 7 deletions
diff --git a/schedule.ccl b/schedule.ccl
index c638060..0d7018c 100644
--- a/schedule.ccl
+++ b/schedule.ccl
@@ -11,24 +11,26 @@ schedule AHFinder_SetSym at CCTK_BASEGRID
} "Set symmetries for AHFinder grid functions"
-if (ahf_active && (ahf_persists || ahf_mask || ahf_weakmask))
+if (ahf_active && CCTK_Equals(ahf_mask,"off"))
{
- STORAGE: ahfindergrid,ahfmask
-
schedule ahfinder at CCTK_POSTSTEP
{
LANG: Fortran
- STORAGE: ahfgradient,ahfinder_gauss,find3grid
- } "Call apparent horizon finder with persisting grid"
+ STORAGE:ahfgradient,ahfinder_gauss,find3grid,ahfindergrid,ahfmask
+ } "Call apparent horizon finder"
}
else if (ahf_active)
{
+ STORAGE: ahfindergrid,ahfmask
+
schedule ahfinder at CCTK_POSTSTEP
{
LANG: Fortran
- STORAGE:ahfgradient,ahfinder_gauss,find3grid,ahfindergrid,ahfmask
- } "Call apparent horizon finder"
+ STORAGE: ahfgradient,ahfinder_gauss,find3grid
+ } "Call apparent horizon finder with persisting grid"
}
+
+