aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
diff options
context:
space:
mode:
Diffstat (limited to 'schedule.ccl')
-rw-r--r--schedule.ccl10
1 files changed, 9 insertions, 1 deletions
diff --git a/schedule.ccl b/schedule.ccl
index 42ebdd0..fc54cb1 100644
--- a/schedule.ccl
+++ b/schedule.ccl
@@ -22,11 +22,19 @@ schedule ADMMass_Loop IN ADMMass BEFORE ADMMass_Local
OPTIONS: global
} "Decrement loop counter"
-
+#########################################################################################
+# We must schedule the local routines to compute the integrals in global-loop-local
+# (as opposed to local) mode, in order to make sure that the scheduling condition
+# "AFTER", which describes the ADMMass group, is respected. This group may depend
+# on local routines (excision, emask) and must be run after all local routines.
+# If we had no such a dependence, we could have scheduled the integral computations
+# simply in local mode.
+##########################################################################################
schedule GROUP ADMMass AT POSTSTEP AFTER ADMMass_InitLoopCounter WHILE ADMMass::ADMMass_LoopCounter
{
STORAGE:ADMMass_GFs[3]
STORAGE:ADMMass_box
+ STORAGE:grid_spacing_product
} "ADMMass loop"
schedule ADMMass_Surface IN ADMMass