summaryrefslogtreecommitdiff
path: root/src/include/cctk_Types.h
diff options
context:
space:
mode:
authorschnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac>2003-10-13 18:07:49 +0000
committerschnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac>2003-10-13 18:07:49 +0000
commit4a909d77bb17007cfdd69ad7b991cbbd85555d9f (patch)
tree744767ab6d9fa891f33b8c78fa2e9c8df88321fe /src/include/cctk_Types.h
parent456924d5fd062dcc075121903fa0edf604cfc73d (diff)
Introduce the new Cactus variable type CCTK_INT1.
Extend routines to handle the new type. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3431 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/include/cctk_Types.h')
-rw-r--r--src/include/cctk_Types.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/cctk_Types.h b/src/include/cctk_Types.h
index b6e2cabe..12f3976e 100644
--- a/src/include/cctk_Types.h
+++ b/src/include/cctk_Types.h
@@ -75,6 +75,7 @@ typedef unsigned char CCTK_BYTE;
#define CCTK_INT8 INTEGER*8
#define CCTK_INT4 INTEGER*4
#define CCTK_INT2 INTEGER*2
+#define CCTK_INT1 INTEGER*1
#define CCTK_COMPLEX32 COMPLEX*32
#define CCTK_COMPLEX16 COMPLEX*16
@@ -116,6 +117,10 @@ typedef unsigned char CCTK_BYTE;
#define CCTK_INT CCTK_INT2
#endif
+#ifdef CCTK_INTEGER_PRECISION_1
+#define CCTK_INT CCTK_INT1
+#endif
+
/* Complex precision */
#ifdef CCTK_REAL_PRECISION_16
#define CCTK_COMPLEX CCTK_COMPLEX32