aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Carpet/src/Comm.cc
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2013-04-02 17:40:41 -0400
committerErik Schnetter <schnetter@gmail.com>2013-04-02 17:40:41 -0400
commitc0c03fece68597fddfef57948334c5c99154f244 (patch)
treee3d32c456ff55c6eaafa684e1e2438514d46706b /Carpet/Carpet/src/Comm.cc
parentafd93dce86328a3489608b729894bb34add6cb90 (diff)
Requirements: New thorn
Move requirement handling code out of Carpet and into a new thorn.
Diffstat (limited to 'Carpet/Carpet/src/Comm.cc')
-rw-r--r--Carpet/Carpet/src/Comm.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/Carpet/Carpet/src/Comm.cc b/Carpet/Carpet/src/Comm.cc
index df529aeaa..c38a3b4f2 100644
--- a/Carpet/Carpet/src/Comm.cc
+++ b/Carpet/Carpet/src/Comm.cc
@@ -8,14 +8,14 @@
#include <cctk.h>
#include <cctk_Parameters.h>
+#include <Requirements.hh>
+
#include <ggf.hh>
#include <gh.hh>
#include <carpet.hh>
#include <Timers.hh>
-#include "Requirements.hh"
-
namespace Carpet {
@@ -165,7 +165,9 @@ namespace Carpet {
timer.stop();
}
+#ifdef REQUIREMENTS_HH
Requirements::Sync(function_data, goodgroups, reflevel, timelevel);
+#endif
}