summaryrefslogtreecommitdiff
path: root/src/include/cctk_constants.h
diff options
context:
space:
mode:
authorlanfer <lanfer@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-01-14 17:07:30 +0000
committerlanfer <lanfer@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-01-14 17:07:30 +0000
commitf919edbed95869369f7f2cb5ba50d0d6f72b9b37 (patch)
tree0253bf7efba258e970736594af6a8dadc532a824 /src/include/cctk_constants.h
parent3b17715f6ad29d123fe12ba9f1669c1257b53cae (diff)
staggering constants
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1257 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/include/cctk_constants.h')
-rw-r--r--src/include/cctk_constants.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/src/include/cctk_constants.h b/src/include/cctk_constants.h
index 5b5cb362..fd6208e4 100644
--- a/src/include/cctk_constants.h
+++ b/src/include/cctk_constants.h
@@ -23,5 +23,55 @@
#define CCTK_VARIABLE_COMPLEX 10
#define CCTK_VARIABLE_STRING 11
+
+/* stagger flags: yes/no, number of staggerings: 3 */
+#define CCTK_NO_STAGGER 0
+#define CCTK_STAGGER 0
+#define CCTK_NSTAGGER 3
+
+/* stagger code in one direction */
+#define CCTK_STAG_M 0
+#define CCTK_STAG_C 1
+#define CCTK_STAG_P 2
+
+/* stagger code of three directions */
+#define CCTK_STAG_MMM 0
+#define CCTK_STAG_CMM 1
+#define CCTK_STAG_PMM 2
+
+#define CCTK_STAG_MCM 3
+#define CCTK_STAG_CCM 4
+#define CCTK_STAG_PCM 5
+
+#define CCTK_STAG_MPM 6
+#define CCTK_STAG_CPM 7
+#define CCTK_STAG_PPM 8
+
+#define CCTK_STAG_MMC 9
+#define CCTK_STAG_CMC 11
+#define CCTK_STAG_PMC 12
+
+#define CCTK_STAG_MCC 13
+#define CCTK_STAG_CCC 14
+#define CCTK_STAG_PCC 15
+
+#define CCTK_STAG_MPC 16
+#define CCTK_STAG_CPC 17
+#define CCTK_STAG_PPC 18
+
+#define CCTK_STAG_MMP 19
+#define CCTK_STAG_CMP 20
+#define CCTK_STAG_PMP 21
+
+#define CCTK_STAG_MCP 22
+#define CCTK_STAG_CCP 23
+#define CCTK_STAG_PCP 24
+
+#define CCTK_STAG_MPP 25
+#define CCTK_STAG_CPP 26
+#define CCTK_STAG_PPP 27
+
+
+
#endif