summaryrefslogtreecommitdiff
path: root/src/include/cctk.h
diff options
context:
space:
mode:
authortradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2002-06-21 15:54:20 +0000
committertradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2002-06-21 15:54:20 +0000
commitaa0a339405f907e5dd39f9cb8af8e7c1a13966a1 (patch)
treec53537309e6124aed3b0f917fd2cbab22cace5d7 /src/include/cctk.h
parent887e00500a32bcc97545f0e68d4a2907196eb883 (diff)
Removed macros CCTK_GROUPLENGTH and CCTK_STORAGESIZE and the declaration of the
magic 'cctk_one' constant which aren't needed anymore for building the thorn bindings. You must also update src/main/Groups.c and lib/sbin/GridFuncStuff.pl now and do a 'make <configuration>-clean; make <configuration>-rebuild;'. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2911 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/include/cctk.h')
-rw-r--r--src/include/cctk.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/include/cctk.h b/src/include/cctk.h
index ec0cd055..e80bc3af 100644
--- a/src/include/cctk.h
+++ b/src/include/cctk.h
@@ -240,17 +240,6 @@ inline int CCTK_GFINDEX4D (const cGH *GH, int i, int j, int k, int l)
int *,\
cGH *
-extern int _cctk_one;
-
-#define CCTK_STORAGESIZE(xGH, cctk_dim, group) \
- (CCTK_QueryGroupStorage(xGH, group) ?\
- (CCTK_ArrayGroupSize(xGH, cctk_dim, group)) : &_cctk_one)
-
-
-#define CCTK_GROUPLENGTH(xGH, group) \
- (CCTK_QueryGroupStorage(xGH, group) ?\
- (CCTKi_GroupLengthAsPointer(group)) : &_cctk_one)
-
#define CCTK_EQUALS(a,b) (CCTK_Equals((a),(b))==1)
#define CCTK_PASS_CTOC cctkGH