diff options
author | eschnett <eschnett@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2012-07-04 01:25:29 +0000 |
---|---|---|
committer | eschnett <eschnett@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2012-07-04 01:25:29 +0000 |
commit | 5890fa36427bdea8efe70079e3cd1e5612312e77 (patch) | |
tree | 47d730568fc835f8f37d54728de142c767699f3d /src/include/cctk_GroupsOnGH.h | |
parent | d9fda6d54df1e6de28a99e812e6c5769e4d9be4a (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/flesh/trunk@4841 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/include/cctk_GroupsOnGH.h')
-rw-r--r-- | src/include/cctk_GroupsOnGH.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/include/cctk_GroupsOnGH.h b/src/include/cctk_GroupsOnGH.h index e2e38c96..2883afa8 100644 --- a/src/include/cctk_GroupsOnGH.h +++ b/src/include/cctk_GroupsOnGH.h @@ -18,8 +18,7 @@ typedef struct GROUPDYNAMICDATA const int *lsh; const int *lbnd; const int *ubnd; -#define CCTK_GROUPDYNAMICDATA_HAS_LSSH - const int *lssh; + const int *ash; const int *bbox; const int *nghostzones; int activetimelevels; @@ -55,10 +54,10 @@ int CCTK_GrouplshVN(const cGH *GH, int dim, int *lsh, const char *varname); int CCTK_GrouplshGI(const cGH *GH, int dim, int *lsh, int groupindex); int CCTK_GrouplshVI(const cGH *GH, int dim, int *lsh, int varindex); -int CCTK_GrouplsshGN(const cGH *GH, int dim, int *lssh, const char *groupname); -int CCTK_GrouplsshVN(const cGH *GH, int dim, int *lssh, const char *varname); -int CCTK_GrouplsshGI(const cGH *GH, int dim, int *lssh, int groupindex); -int CCTK_GrouplsshVI(const cGH *GH, int dim, int *lssh, int varindex); +int CCTK_GroupashGN(const cGH *GH, int dim, int *ash, const char *groupname); +int CCTK_GroupashVN(const cGH *GH, int dim, int *ash, const char *varname); +int CCTK_GroupashGI(const cGH *GH, int dim, int *ash, int groupindex); +int CCTK_GroupashVI(const cGH *GH, int dim, int *ash, int varindex); int CCTK_GroupgshGN(const cGH *GH, int dim, int *gsh, const char *groupname); int CCTK_GroupgshVN(const cGH *GH, int dim, int *gsh, const char *varname); |