aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Carpet/src/carpet.hh
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2008-03-01 19:59:36 -0600
committerErik Schnetter <schnetter@cct.lsu.edu>2008-03-01 19:59:36 -0600
commit3ab294f435bd858c9b08294e1b15162985a847a9 (patch)
tree6a55acafe2301c2e8fb7f64caf6d801ce4f42a01 /Carpet/Carpet/src/carpet.hh
parenta1416c08b9c7dd1ce6ee710d022909caf9dd88e6 (diff)
Carpet: Begin to implement checking requirements
Requirements and provisions are a planned feature to simplify Cactus schedules. Scheduled routines can require and provide "things". It is an error if something is required which has not been provided before.
Diffstat (limited to 'Carpet/Carpet/src/carpet.hh')
-rw-r--r--Carpet/Carpet/src/carpet.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/Carpet/Carpet/src/carpet.hh b/Carpet/Carpet/src/carpet.hh
index 16dca4228..9e53cfe5c 100644
--- a/Carpet/Carpet/src/carpet.hh
+++ b/Carpet/Carpet/src/carpet.hh
@@ -64,6 +64,11 @@ namespace Carpet {
void CallBeforeRoutines (cGH const * restrict cctkGH);
void CallAfterRoutines (cGH const * restrict cctkGH);
+ // Requirements
+ namespace Requirements {
+ void CheckRequirements (cGH const * cctkGH);
+ }
+
// Debugging output
void Output (const char* fmt, ...);
void Waypoint (const char* fmt, ...);