aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
diff options
context:
space:
mode:
Diffstat (limited to 'schedule.ccl')
-rw-r--r--schedule.ccl4
1 files changed, 3 insertions, 1 deletions
diff --git a/schedule.ccl b/schedule.ccl
index f927a0f..a0ddf9c 100644
--- a/schedule.ccl
+++ b/schedule.ccl
@@ -1,13 +1,15 @@
# Schedule definitions for thorn SetMask_SphericalSurface
+# we need global loop-local since SphericalSurface_Set and AHFinderDirect run in global mode
schedule SetMask_SphericalSurface AT CCTK_POSTSTEP after SphericalSurface_HasBeenSet before HydroBase_ExcisionHasBeenSet
{
LANG: C
options: global loop-local
} "Set hydro_excision_mask according to spherical surface information"
+# these must be local mode since they relate to HydroBase_InitExcisionMask
+# which must be local in PostRegrid
schedule SetMask_SphericalSurface IN HydroBase_ExcisionMaskSetup after HydroBase_InitExcisionMask
{
LANG: C
- options: global loop-local
} "Set hydro_excision_mask according to spherical surface information"