From aa0a339405f907e5dd39f9cb8af8e7c1a13966a1 Mon Sep 17 00:00:00 2001 From: tradke Date: Fri, 21 Jun 2002 15:54:20 +0000 Subject: 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 -clean; make -rebuild;'. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2911 17b73243-c579-4c4c-a9d2-2d5706c11dac --- src/include/cctk.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/include/cctk.h') 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 -- cgit v1.2.3