From c438704e6d1d796f42f78cd57917c60bd0e951fe Mon Sep 17 00:00:00 2001 From: eschnett Date: Wed, 4 Jul 2012 01:29:14 +0000 Subject: 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 --- src/include/pGV.h | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'src/include/pGV.h') diff --git a/src/include/pGV.h b/src/include/pGV.h index 8219847..fad2fa3 100644 --- a/src/include/pGV.h +++ b/src/include/pGV.h @@ -51,17 +51,14 @@ typedef struct PGExtras /* Ghosts and overlaps. */ int *nghostzones; /* Width of ghost zone */ - int *ownership[PUGH_NSTAGGER][2]; - /* The box owned in each direction. */ - /* [stagger][min/max][dir] */ + int *ownership[2]; /* The box owned in each direction. */ + /* [min/max][dir] */ - int **ghosts[PUGH_NSTAGGER][2]; - /* The ghost zones on each face. */ - /* [stagger][min/max][face][dir] */ + int **ghosts[2]; /* The ghost zones on each face. */ + /* [min/max][face][dir] */ - int **overlap[PUGH_NSTAGGER][2]; - /* The overlap region owned on each face. */ - /* [stagger][min/max][face][ijk] */ + int **overlap[2]; /* The overlap region owned on each face. */ + /* [min/max][face][ijk] */ } pGExtras; @@ -96,7 +93,6 @@ typedef struct PGA void *data; /* See the note above. */ int storage; /* Do we have storage or not? */ int npoints; /* Number of points (for memory statistics) */ - int *stagger; /* [dim] directional stagger indicies */ void *parent; /* The GH to which I belong */ /* Note this is struct PGH which is -- cgit v1.2.3