aboutsummaryrefslogtreecommitdiff
path: root/src/elliptic
diff options
context:
space:
mode:
authorjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2003-05-06 15:43:54 +0000
committerjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2003-05-06 15:43:54 +0000
commit09c9d37c5f20c98e7d560dc14046c101ef3f9d27 (patch)
treed2da5b42bf2ecc91dc2720db357e0978012ac054 /src/elliptic
parent2018467e596bdade28b1a468cd1c6e4bcf5d33ef (diff)
add #ifndef include guards to a bunch of files, even though they shouldn't
be necessary (I never include a file twice!)... since certain lame/broken/dumb compilers (like DEC/Compaq/HP/whatever-they-call-themselves-this-week C++ version 6.something on Alpha Linux) still give multiple inclusions even with automagic template instantiation turned off :( :( :( -- thanks to Frank Loeffler for helping track this problem down! git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@1050 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'src/elliptic')
-rw-r--r--src/elliptic/Jacobian.hh8
-rw-r--r--src/elliptic/dense_Jacobian.hh8
-rw-r--r--src/elliptic/row_sparse_Jacobian.hh8
3 files changed, 21 insertions, 3 deletions
diff --git a/src/elliptic/Jacobian.hh b/src/elliptic/Jacobian.hh
index 0cb43a2..0e16182 100644
--- a/src/elliptic/Jacobian.hh
+++ b/src/elliptic/Jacobian.hh
@@ -1,12 +1,14 @@
// Jacobian.hh -- generic data structures for the Jacobian matrix
// $Header$
-
//
// Jacobian -- ABC to describe Jacobian matrix
// decode_Jacobian_store_solve_method - decode string into internal enum
// new_Jacobian - factory method
//
+#ifndef AHFINDERDIRECT__JACOBIAN_HH
+#define AHFINDERDIRECT__JACOBIAN_HH
+
//
// prerequisites:
// "../patch/patch_system.hh"
@@ -186,3 +188,7 @@ enum Jacobian_store_solve_method
Jacobian* new_Jacobian(enum Jacobian_store_solve_method Jac_method,
patch_system& ps,
bool print_msg_flag = false);
+
+//******************************************************************************
+
+#endif // AHFINDERDIRECT__JACOBIAN_HH
diff --git a/src/elliptic/dense_Jacobian.hh b/src/elliptic/dense_Jacobian.hh
index e6227a6..883f2ea 100644
--- a/src/elliptic/dense_Jacobian.hh
+++ b/src/elliptic/dense_Jacobian.hh
@@ -1,6 +1,5 @@
// dense_Jacobian.hh -- dense-matrix Jacobian
// $Header$
-
//
#ifdef HAVE_DENSE_JACOBIAN
// dense_Jacobian -- Jacobian stored as a dense matrix
@@ -10,6 +9,9 @@
#endif
//
+#ifndef AHFINDERDIRECT__DENSE_JACOBIAN_HH
+#define AHFINDERDIRECT__DENSE_JACOBIAN_HH
+
//
// prerequisites:
// "../patch/patch_system.hh"
@@ -107,3 +109,7 @@ private:
fp *rwork_; // size 4*N_rows_
};
#endif // HAVE_DENSE_JACOBIAN__LAPACK
+
+//******************************************************************************
+
+#endif // AHFINDERDIRECT__DENSE_JACOBIAN_HH
diff --git a/src/elliptic/row_sparse_Jacobian.hh b/src/elliptic/row_sparse_Jacobian.hh
index 5bbc8e7..1c11878 100644
--- a/src/elliptic/row_sparse_Jacobian.hh
+++ b/src/elliptic/row_sparse_Jacobian.hh
@@ -1,6 +1,5 @@
// Jacobian.hh -- data structures for the Jacobian matrix
// $Header$
-
//
#ifdef HAVE_ROW_SPARSE_JACOBIAN
// row_sparse_Jacobian -- Jacobian stored as row-oriented sparse matrix
@@ -10,6 +9,9 @@
#endif
//
+#ifndef AHFINDERDIRECT__ROW_SPARSE_JACOBIAN_HH
+#define AHFINDERDIRECT__ROW_SPARSE_JACOBIAN_HH
+
//
// prerequisites:
// "../patch/patch_system.hh"
@@ -205,3 +207,7 @@ private:
fp* rtemp_;
};
#endif // HAVE_ROW_SPARSE_JACOBIAN__ILUCG
+
+//******************************************************************************
+
+#endif // AHFINDERDIRECT__ROW_SPARSE_JACOBIAN_HH