aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Carpet/schedule.ccl
diff options
context:
space:
mode:
Diffstat (limited to 'Carpet/Carpet/schedule.ccl')
-rw-r--r--Carpet/Carpet/schedule.ccl17
1 files changed, 17 insertions, 0 deletions
diff --git a/Carpet/Carpet/schedule.ccl b/Carpet/Carpet/schedule.ccl
index b4f543e20..215bcde7a 100644
--- a/Carpet/Carpet/schedule.ccl
+++ b/Carpet/Carpet/schedule.ccl
@@ -46,3 +46,20 @@ if (use_unusedpoints_mask)
LANG: C
} "Set mask of unused points"
}
+
+# Handle requirements of boundary and symmtery condition. This uses knowledge
+# of the internal workings of thorn boundary.
+if (check_requirements)
+{
+ schedule CarpetCheckReadsBeforeBoundary IN ApplyBCs BEFORE BoundaryConditions
+ {
+ LANG: C
+ OPTIONS: singlemap # local would also work but we don't really need it
+ } "Check that interior of grid function is valid before boundary conditions are applied"
+
+ schedule CarpetNotifyWritesAfterBoundary IN ApplyBCs AFTER Boundary_ApplyPhysicalBCs BEFORE Boundary_ClearSelection
+ {
+ LANG: C
+ OPTIONS: singlemap # local would also work but we don't really need it
+ } "Notify that grid functions with boundary condtions are valid in boundary"
+}