aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Carpet/src/Comm.cc
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2012-08-30 10:27:41 -0400
committerBarry Wardell <barry.wardell@gmail.com>2012-09-11 18:23:35 +0100
commit019d444f5e5b7cc8f5e0f01c1ae36886dff1d569 (patch)
tree4b3a19eadc83ef06f3749850ffd5d1b76c3c132b /Carpet/Carpet/src/Comm.cc
parentcdb1e921ca835128a5a1eb9beba16a2b7a2ac5d5 (diff)
Carpet: Check schedule reads/writes statements at run time
Diffstat (limited to 'Carpet/Carpet/src/Comm.cc')
-rw-r--r--Carpet/Carpet/src/Comm.cc11
1 files changed, 8 insertions, 3 deletions
diff --git a/Carpet/Carpet/src/Comm.cc b/Carpet/Carpet/src/Comm.cc
index 55be38251..df529aeaa 100644
--- a/Carpet/Carpet/src/Comm.cc
+++ b/Carpet/Carpet/src/Comm.cc
@@ -14,6 +14,8 @@
#include <carpet.hh>
#include <Timers.hh>
+#include "Requirements.hh"
+
namespace Carpet {
@@ -66,7 +68,8 @@ namespace Carpet {
// synchronises ghostzones and prolongates boundaries of a set of groups
//
// returns 0 for success and -1 if the set contains a group with no storage
- int SyncProlongateGroups (const cGH* cctkGH, const vector<int>& groups)
+ int SyncProlongateGroups (const cGH* cctkGH, const vector<int>& groups,
+ cFunctionData const* function_data)
{
int retval = 0;
DECLARE_CCTK_PARAMETERS;
@@ -161,9 +164,11 @@ namespace Carpet {
SyncGroups (cctkGH, goodgroups);
timer.stop();
}
-
+
+ Requirements::Sync(function_data, goodgroups, reflevel, timelevel);
+
}
-
+
return retval;
}