summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorschnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac>2004-03-03 12:23:29 +0000
committerschnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac>2004-03-03 12:23:29 +0000
commitafe1696efa8a1879cc559d45d44893299f352150 (patch)
tree28318ea7b5117a1ff9acc943cfa8d180af91e1d4 /src/include
parenta2449843fde77745820b460a8422d7eb8e991b10 (diff)
Declare and define the cctk_convfac member of the cGH structure in
CCTK_ARGUMENTS. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3582 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/include')
-rw-r--r--src/include/cctk.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/include/cctk.h b/src/include/cctk.h
index 932f305f..5cbfbdd4 100644
--- a/src/include/cctk.h
+++ b/src/include/cctk.h
@@ -36,7 +36,7 @@
cctk_delta_time, cctk_time, cctk_delta_space,\
cctk_origin_space, cctk_levfac, \
cctk_levoff, cctk_levoffdenom, cctk_timefac, \
- cctk_convlevel,\
+ cctk_convlevel, cctk_convfac, \
cctk_nghostzones, cctk_iteration, cctkGH
#define _DECLARE_CCTK_ARGUMENTS _DECLARE_CCTK_FARGUMENTS
@@ -54,6 +54,7 @@
INTEGER cctk_levoffdenom(cctk_dim)&&\
INTEGER cctk_timefac&&\
INTEGER cctk_convlevel&&\
+ INTEGER cctk_convfac&&\
INTEGER cctk_nghostzones(cctk_dim)&&\
INTEGER cctk_iteration&&\
CCTK_POINTER cctkGH&&\
@@ -232,6 +233,7 @@ static inline int CCTK_GFINDEX4D (const cGH *GH, int i, int j, int k, int l)
int *cctk_levoffdenom = cctkGH->cctk_levoffdenom;\
int cctk_timefac = cctkGH->cctk_timefac;\
int cctk_convlevel = cctkGH->cctk_convlevel;\
+ int cctk_convfac = cctkGH->cctk_convfac;\
int *cctk_nghostzones = cctkGH->cctk_nghostzones;\
int cctk_iteration = cctkGH->cctk_iteration;
@@ -255,6 +257,7 @@ static inline int CCTK_GFINDEX4D (const cGH *GH, int i, int j, int k, int l)
(void) (cctk_levoffdenom + 0);\
(void) (cctk_timefac + 0);\
(void) (cctk_convlevel + 0);\
+ (void) (cctk_convfac + 0);\
(void) (cctk_nghostzones + 0);\
(void) (cctk_iteration + 0);
@@ -274,6 +277,7 @@ static inline int CCTK_GFINDEX4D (const cGH *GH, int i, int j, int k, int l)
(xGH)->cctk_levoffdenom,\
&((xGH)->cctk_timefac),\
&((xGH)->cctk_convlevel),\
+ &((xGH)->cctk_convfac),\
(xGH)->cctk_nghostzones,\
&((xGH)->cctk_iteration),\
&(xGH)
@@ -289,6 +293,7 @@ static inline int CCTK_GFINDEX4D (const cGH *GH, int i, int j, int k, int l)
int *,\
int *,\
int *,\
+ int *,\
cGH **
#define CCTK_EQUALS(a,b) (CCTK_Equals((a),(b)))