aboutsummaryrefslogtreecommitdiff
path: root/archive
diff options
context:
space:
mode:
authorjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2003-01-16 17:07:08 +0000
committerjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2003-01-16 17:07:08 +0000
commit70dfc183be3fff193d86eefef8c68b3ea1ad5438 (patch)
tree653adf59bbeac0da1cf1e7806d96b8e17bacbaf8 /archive
parentccd050da1496ca00845174ffcd4f4eaf22a9b792 (diff)
* change to not use STL vector class any more
(it caused portability problems on platinum) ==> move stl_vector.hh from src/include/ to archive/ directory * convert patch_system_type and initial_guess_method parameters to be array parameters, i.e. they're now set individually for each AH we want to find git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@920 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'archive')
-rw-r--r--archive/stl_vector.hh22
1 files changed, 22 insertions, 0 deletions
diff --git a/archive/stl_vector.hh b/archive/stl_vector.hh
new file mode 100644
index 0000000..9e4d817
--- /dev/null
+++ b/archive/stl_vector.hh
@@ -0,0 +1,22 @@
+// stl_vector.hh -- define STL vector class in global namespace.
+// $Header$
+
+//
+// prerequisites:
+// "cctk.h"
+//
+
+//
+// This header file defines the STL vector class in the global namespace.
+// It makes use of Cactus's configuration-time probing of what header
+// files are available.
+//
+
+#if defined(HAVE_VECTOR)
+ #include <vector>
+ using std::vector;
+#elif defined(HAVE_VECTOR_H)
+ #include <vector.h>
+#else
+ #error "Cactus couldn't find the STL vector class!"
+#endif