aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Carpet/src/SetupGH.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/SetupGH.cc
parentafd93dce86328a3489608b729894bb34add6cb90 (diff)
Requirements: New thorn
Move requirement handling code out of Carpet and into a new thorn.
Diffstat (limited to 'Carpet/Carpet/src/SetupGH.cc')
-rw-r--r--Carpet/Carpet/src/SetupGH.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/Carpet/Carpet/src/SetupGH.cc b/Carpet/Carpet/src/SetupGH.cc
index 842f8b4f1..47f9dcad1 100644
--- a/Carpet/Carpet/src/SetupGH.cc
+++ b/Carpet/Carpet/src/SetupGH.cc
@@ -25,6 +25,8 @@
#endif
#include <unistd.h>
+#include <Requirements.hh>
+
#include <bbox.hh>
#include <defs.hh>
#include <dist.hh>
@@ -35,7 +37,6 @@
#include <vect.hh>
#include <carpet.hh>
-#include "Requirements.hh"
#include "Timers.hh"
@@ -720,7 +721,9 @@ namespace Carpet {
maps = num_maps;
}
carpetGH.maps = maps;
+#ifdef REQUIREMENTS_HH
Requirements::Setup (maps);
+#endif
}