aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src/typecase.hh
diff options
context:
space:
mode:
authorChristian Reisswig <reisswig@tapir.caltech.edu>2011-05-04 15:20:47 -0700
committerBarry Wardell <barry.wardell@gmail.com>2011-12-14 18:26:15 +0000
commit1abf36a129ed069b7ab3ee28ddd4c85d858cd70e (patch)
treeed0779c99facb7580887230f693fb99080b1f3ea /Carpet/CarpetLib/src/typecase.hh
parent2e2ac9942c3db6797b175245a1b08367834f3cf5 (diff)
Implementation of 2nd and 3rd order ENO cell-centered prolongation operators.
Diffstat (limited to 'Carpet/CarpetLib/src/typecase.hh')
-rw-r--r--Carpet/CarpetLib/src/typecase.hh32
1 files changed, 32 insertions, 0 deletions
diff --git a/Carpet/CarpetLib/src/typecase.hh b/Carpet/CarpetLib/src/typecase.hh
index 6679e8e7e..7c211cc88 100644
--- a/Carpet/CarpetLib/src/typecase.hh
+++ b/Carpet/CarpetLib/src/typecase.hh
@@ -159,6 +159,8 @@ TYPECASE(CCTK_VARIABLE_INT8, CCTK_INT8)
+#ifndef CARPET_NO_REAL
+
// #ifdef CARPET_REAL
// TYPECASE(CCTK_VARIABLE_REAL, CCTK_REAL)
// #endif
@@ -178,6 +180,8 @@ TYPECASE(CCTK_VARIABLE_REAL16, CCTK_REAL16)
# endif
#endif
+#endif
+
#ifndef CARPET_NO_COMPLEX
@@ -202,3 +206,31 @@ TYPECASE(CCTK_VARIABLE_COMPLEX32, CCTK_COMPLEX32)
# endif
#endif
+
+
+
+// Unset all macros
+#undef CARPET_ALL
+#undef CARPET_BYTE
+#undef CARPET_ALL_INT
+#undef CARPET_ALL_REAL
+#undef CARPET_ALL_COMPLEX
+
+#undef CARPET_NO_INT
+#undef CARPET_NO_REAL
+#undef CARPET_NO_COMPLEX
+
+#undef CARPET_BYTE
+#undef CARPET_INT
+#undef CARPET_INT1
+#undef CARPET_INT2
+#undef CARPET_INT4
+#undef CARPET_INT8
+#undef CARPET_REAL
+#undef CARPET_REAL4
+#undef CARPET_REAL8
+#undef CARPET_REAL16
+#undef CARPET_COMPLEX
+#undef CARPET_COMPLEX8
+#undef CARPET_COMPLEX16
+#undef CARPET_COMPLEX32