diff options
author | eschnett <eschnett@b61c5cb5-eaca-4651-9a7a-d64986f99364> | 2012-07-04 01:29:14 +0000 |
---|---|---|
committer | eschnett <eschnett@b61c5cb5-eaca-4651-9a7a-d64986f99364> | 2012-07-04 01:29:14 +0000 |
commit | c438704e6d1d796f42f78cd57917c60bd0e951fe (patch) | |
tree | 7444e4b0b01dbb171683e6197fd00e66b47e85b4 /src/Storage.c | |
parent | decf9c65e304089e6bc0c0c32dc5998ae6329b6b (diff) |
Introduce cctk_ash, retire cctk_lssh
Introduce cctk_ash, describing the process-local array shape that has
been allocated. This may be larger than cctk_lsh, the process-local
shape that should be used.
Retire cctk_lssh and related infrastructure to handle staggered grid
functions.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@515 b61c5cb5-eaca-4651-9a7a-d64986f99364
Diffstat (limited to 'src/Storage.c')
-rw-r--r-- | src/Storage.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/Storage.c b/src/Storage.c index 1386284..cbdf47d 100644 --- a/src/Storage.c +++ b/src/Storage.c @@ -8,6 +8,9 @@ @version $Id$ @@*/ +/* #define DEBUG_PUGH 1 */ + +#include <stdio.h> #include <stdlib.h> #include <string.h> @@ -18,11 +21,9 @@ #include "pughi.h" #include "pugh_Comm.h" -static const char *rcsid="$Header$"; +static const char *rcsid="$Header:$"; CCTK_FILEVERSION(CactusPUGH_PUGH_Storage_c); -/* #define DEBUG_PUGH 1 */ - /******************************************************************** ******************** Static Variables ************************* @@ -205,7 +206,6 @@ int PUGH_QueryGroupStorage (const cGH *GH, int group, const char *groupname) { int first_var; int storage; - int grouptype; int retval; pGH *pughGH; @@ -222,7 +222,6 @@ int PUGH_QueryGroupStorage (const cGH *GH, int group, const char *groupname) if (first_var >= 0) { pughGH = PUGH_pGH (GH); - grouptype = CCTK_GroupTypeI (group); storage = ((pGA *) pughGH->variables[first_var][0])->storage; if (storage == PUGH_STORAGE) |