summaryrefslogtreecommitdiff
path: root/src/include/util_Table.h
diff options
context:
space:
mode:
authorschnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac>2004-03-08 10:34:23 +0000
committerschnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac>2004-03-08 10:34:23 +0000
commitc1a9ebde95b37d77b210e35c97cd930f3c60a4c4 (patch)
tree84c44fa57138788dd835b0c1dce9d7e267817d3e /src/include/util_Table.h
parent5f1e0aa5713bcfdda65e0a213b6f61af393234b4 (diff)
Use the correct macros to determine which CCTK_* types are defined.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3584 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/include/util_Table.h')
-rw-r--r--src/include/util_Table.h80
1 files changed, 40 insertions, 40 deletions
diff --git a/src/include/util_Table.h b/src/include/util_Table.h
index 6148a8a4..cab45ecf 100644
--- a/src/include/util_Table.h
+++ b/src/include/util_Table.h
@@ -183,40 +183,40 @@ int Util_TableSetChar(int handle, CCTK_CHAR value, const char *key);
/* integers */
int Util_TableSetInt(int handle, CCTK_INT value, const char *key);
-#ifdef CCTK_INTEGER_PRECISION_1
+#ifdef CCTK_INT1
int Util_TableSetInt1(int handle, CCTK_INT1 value, const char *key);
#endif
-#ifdef CCTK_INTEGER_PRECISION_2
+#ifdef CCTK_INT2
int Util_TableSetInt2(int handle, CCTK_INT2 value, const char *key);
#endif
-#ifdef CCTK_INTEGER_PRECISION_4
+#ifdef CCTK_INT4
int Util_TableSetInt4(int handle, CCTK_INT4 value, const char *key);
#endif
-#ifdef CCTK_INTEGER_PRECISION_8
+#ifdef CCTK_INT8
int Util_TableSetInt8(int handle, CCTK_INT8 value, const char *key);
#endif
/* real numbers */
int Util_TableSetReal(int handle, CCTK_REAL value, const char *key);
-#ifdef CCTK_REAL_PRECISION_4
+#ifdef CCTK_REAL4
int Util_TableSetReal4(int handle, CCTK_REAL4 value, const char *key);
#endif
-#ifdef CCTK_REAL_PRECISION_8
+#ifdef CCTK_REAL8
int Util_TableSetReal8(int handle, CCTK_REAL8 value, const char *key);
#endif
-#ifdef CCTK_REAL_PRECISION_16
+#ifdef CCTK_REAL16
int Util_TableSetReal16(int handle, CCTK_REAL16 value, const char *key);
#endif
/* complex numbers */
int Util_TableSetComplex(int handle, CCTK_COMPLEX value, const char *key);
-#ifdef CCTK_COMPLEX_PRECISION_8
+#ifdef CCTK_REAL4
int Util_TableSetComplex8(int handle, CCTK_COMPLEX8 value, const char *key);
#endif
-#ifdef CCTK_COMPLEX_PRECISION_16
+#ifdef CCTK_REAL8
int Util_TableSetComplex16(int handle, CCTK_COMPLEX16 value, const char *key);
#endif
-#ifdef CCTK_COMPLEX_PRECISION_32
+#ifdef CCTK_REAL16
int Util_TableSetComplex32(int handle, CCTK_COMPLEX32 value, const char *key);
#endif
@@ -247,22 +247,22 @@ int Util_TableSetCharArray(int handle,
int Util_TableSetIntArray(int handle,
int N_elements, const CCTK_INT array[],
const char *key);
-#ifdef CCTK_INTEGER_PRECISION_1
+#ifdef CCTK_INT1
int Util_TableSetInt1Array(int handle,
int N_elements, const CCTK_INT1 array[],
const char *key);
#endif
-#ifdef CCTK_INTEGER_PRECISION_2
+#ifdef CCTK_INT2
int Util_TableSetInt2Array(int handle,
int N_elements, const CCTK_INT2 array[],
const char *key);
#endif
-#ifdef CCTK_INTEGER_PRECISION_4
+#ifdef CCTK_INT4
int Util_TableSetInt4Array(int handle,
int N_elements, const CCTK_INT4 array[],
const char *key);
#endif
-#ifdef CCTK_INTEGER_PRECISION_8
+#ifdef CCTK_INT8
int Util_TableSetInt8Array(int handle,
int N_elements, const CCTK_INT8 array[],
const char *key);
@@ -272,17 +272,17 @@ int Util_TableSetInt8Array(int handle,
int Util_TableSetRealArray(int handle,
int N_elements, const CCTK_REAL array[],
const char *key);
-#ifdef CCTK_REAL_PRECISION_4
+#ifdef CCTK_REAL4
int Util_TableSetReal4Array(int handle,
int N_elements, const CCTK_REAL4 array[],
const char *key);
#endif
-#ifdef CCTK_REAL_PRECISION_8
+#ifdef CCTK_REAL8
int Util_TableSetReal8Array(int handle,
int N_elements, const CCTK_REAL8 array[],
const char *key);
#endif
-#ifdef CCTK_REAL_PRECISION_16
+#ifdef CCTK_REAL16
int Util_TableSetReal16Array(int handle,
int N_elements, const CCTK_REAL16 array[],
const char *key);
@@ -292,17 +292,17 @@ int Util_TableSetReal16Array(int handle,
int Util_TableSetComplexArray(int handle,
int N_elements, const CCTK_COMPLEX array[],
const char *key);
-#ifdef CCTK_COMPLEX_PRECISION_8
+#ifdef CCTK_REAL4
int Util_TableSetComplex8Array(int handle,
int N_elements, const CCTK_COMPLEX8 array[],
const char *key);
#endif
-#ifdef CCTK_COMPLEX_PRECISION_16
+#ifdef CCTK_REAL8
int Util_TableSetComplex16Array(int handle,
int N_elements, const CCTK_COMPLEX16 array[],
const char *key);
#endif
-#ifdef CCTK_COMPLEX_PRECISION_32
+#ifdef CCTK_REAL16
int Util_TableSetComplex32Array(int handle,
int N_elements, const CCTK_COMPLEX32 array[],
const char *key);
@@ -328,40 +328,40 @@ int Util_TableGetChar(int handle, CCTK_CHAR *value, const char *key);
/* integers */
int Util_TableGetInt(int handle, CCTK_INT *value, const char *key);
-#ifdef CCTK_INTEGER_PRECISION_1
+#ifdef CCTK_INT1
int Util_TableGetInt1(int handle, CCTK_INT1 *value, const char *key);
#endif
-#ifdef CCTK_INTEGER_PRECISION_2
+#ifdef CCTK_INT2
int Util_TableGetInt2(int handle, CCTK_INT2 *value, const char *key);
#endif
-#ifdef CCTK_INTEGER_PRECISION_4
+#ifdef CCTK_INT4
int Util_TableGetInt4(int handle, CCTK_INT4 *value, const char *key);
#endif
-#ifdef CCTK_INTEGER_PRECISION_8
+#ifdef CCTK_INT8
int Util_TableGetInt8(int handle, CCTK_INT8 *value, const char *key);
#endif
/* real numbers */
int Util_TableGetReal(int handle, CCTK_REAL *value, const char *key);
-#ifdef CCTK_REAL_PRECISION_4
+#ifdef CCTK_REAL4
int Util_TableGetReal4(int handle, CCTK_REAL4 *value, const char *key);
#endif
-#ifdef CCTK_REAL_PRECISION_8
+#ifdef CCTK_REAL8
int Util_TableGetReal8(int handle, CCTK_REAL8 *value, const char *key);
#endif
-#ifdef CCTK_REAL_PRECISION_16
+#ifdef CCTK_REAL16
int Util_TableGetReal16(int handle, CCTK_REAL16 *value, const char *key);
#endif
/* complex numbers */
int Util_TableGetComplex(int handle, CCTK_COMPLEX *value, const char *key);
-#ifdef CCTK_COMPLEX_PRECISION_8
+#ifdef CCTK_REAL4
int Util_TableGetComplex8(int handle, CCTK_COMPLEX8 *value, const char *key);
#endif
-#ifdef CCTK_COMPLEX_PRECISION_16
+#ifdef CCTK_REAL8
int Util_TableGetComplex16(int handle, CCTK_COMPLEX16 *value, const char *key);
#endif
-#ifdef CCTK_COMPLEX_PRECISION_32
+#ifdef CCTK_REAL16
int Util_TableGetComplex32(int handle, CCTK_COMPLEX32 *value, const char *key);
#endif
@@ -392,22 +392,22 @@ int Util_TableGetCharArray(int handle,
int Util_TableGetIntArray(int handle,
int N_elements, CCTK_INT array[],
const char *key);
-#ifdef CCTK_INTEGER_PRECISION_1
+#ifdef CCTK_INT1
int Util_TableGetInt1Array(int handle,
int N_elements, CCTK_INT1 array[],
const char *key);
#endif
-#ifdef CCTK_INTEGER_PRECISION_2
+#ifdef CCTK_INT2
int Util_TableGetInt2Array(int handle,
int N_elements, CCTK_INT2 array[],
const char *key);
#endif
-#ifdef CCTK_INTEGER_PRECISION_4
+#ifdef CCTK_INT4
int Util_TableGetInt4Array(int handle,
int N_elements, CCTK_INT4 array[],
const char *key);
#endif
-#ifdef CCTK_INTEGER_PRECISION_8
+#ifdef CCTK_INT8
int Util_TableGetInt8Array(int handle,
int N_elements, CCTK_INT8 array[],
const char *key);
@@ -417,17 +417,17 @@ int Util_TableGetInt8Array(int handle,
int Util_TableGetRealArray(int handle,
int N_elements, CCTK_REAL array[],
const char *key);
-#ifdef CCTK_REAL_PRECISION_4
+#ifdef CCTK_REAL4
int Util_TableGetReal4Array(int handle,
int N_elements, CCTK_REAL4 array[],
const char *key);
#endif
-#ifdef CCTK_REAL_PRECISION_8
+#ifdef CCTK_REAL8
int Util_TableGetReal8Array(int handle,
int N_elements, CCTK_REAL8 array[],
const char *key);
#endif
-#ifdef CCTK_REAL_PRECISION_16
+#ifdef CCTK_REAL16
int Util_TableGetReal16Array(int handle,
int N_elements, CCTK_REAL16 array[],
const char *key);
@@ -437,17 +437,17 @@ int Util_TableGetReal16Array(int handle,
int Util_TableGetComplexArray(int handle,
int N_elements, CCTK_COMPLEX array[],
const char *key);
-#ifdef CCTK_COMPLEX_PRECISION_8
+#ifdef CCTK_REAL4
int Util_TableGetComplex8Array(int handle,
int N_elements, CCTK_COMPLEX8 array[],
const char *key);
#endif
-#ifdef CCTK_COMPLEX_PRECISION_16
+#ifdef CCTK_REAL8
int Util_TableGetComplex16Array(int handle,
int N_elements, CCTK_COMPLEX16 array[],
const char *key);
#endif
-#ifdef CCTK_COMPLEX_PRECISION_32
+#ifdef CCTK_REAL16
int Util_TableGetComplex32Array(int handle,
int N_elements, CCTK_COMPLEX32 array[],
const char *key);