diff options
author | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-01-29 11:47:54 +0000 |
---|---|---|
committer | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-01-29 11:47:54 +0000 |
commit | b9d757ac48897c45d17f460f47899709d0216b8b (patch) | |
tree | 376b2ae64877be942d82804731f34bff96a55abe /src/include/cctk.h | |
parent | e9ba8fce0f88a8c9c4c1a30d015e5335404cf52c (diff) |
Constants for rfr should be here, and not in the rfr files
git-svn-id: http://svn.cactuscode.org/flesh/trunk@132 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/include/cctk.h')
-rw-r--r-- | src/include/cctk.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/include/cctk.h b/src/include/cctk.h index fe63cffa..bd371aea 100644 --- a/src/include/cctk.h +++ b/src/include/cctk.h @@ -32,14 +32,19 @@ #define DECLARE_CCTK_C2F #define PASS_CCTK_C2F(xGH) &((xGH)->dim),\ (xGH)->local_shape, (xGH)->lower_bound, (xGH)->upper_bound, (xGH)->bbox,\ - &((xGH)->levfac), + &((xGH)->levfac),\ (xGH) #define CCTK_C2F_PROTO int *,\ int *,int *, int *, int *,\ int *,\ cGH * -#define CCTK_STORAGE_SIZE(xGH, group, dim) (CCTK_QueryGroupStorage(xGH,group) ?\ - &(CCTK_ArrayGroupSize(xGH, group, dim) : &(_cctk_one)) +#define CCTK_STORAGESIZE(xGH, group, dim) (CCTK_QueryGroupStorage(xGH,group) ?\ + (CCTK_ArrayGroupSize(xGH, group, dim)) : &(_cctk_one)) + + +extern int _cctk_one; #endif /*CCODE*/ + +#endif |