aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Requirements/schedule.ccl
diff options
context:
space:
mode:
Diffstat (limited to 'Carpet/Requirements/schedule.ccl')
-rw-r--r--Carpet/Requirements/schedule.ccl18
1 files changed, 18 insertions, 0 deletions
diff --git a/Carpet/Requirements/schedule.ccl b/Carpet/Requirements/schedule.ccl
new file mode 100644
index 000000000..a8a1fb38f
--- /dev/null
+++ b/Carpet/Requirements/schedule.ccl
@@ -0,0 +1,18 @@
+# Schedule definitions for thorn Requirements
+
+# 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"
+}