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/include/pGV.h | |
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/include/pGV.h')
-rw-r--r-- | src/include/pGV.h | 16 |
1 files changed, 6 insertions, 10 deletions
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 |