diff options
author | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-06-22 21:24:41 +0000 |
---|---|---|
committer | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-06-22 21:24:41 +0000 |
commit | 75f0e5150c81c5b89434ae56aceaf7f711e5f22d (patch) | |
tree | a4343c53968e63331341258aee609f5f8d9192b7 /src/include/cctk_GroupsOnGH.h | |
parent | b409ea97632bc5203a3785500728c2f8b6d109b7 (diff) |
Prototypes and structure for new array querying functions
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1694 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/include/cctk_GroupsOnGH.h')
-rw-r--r-- | src/include/cctk_GroupsOnGH.h | 42 |
1 files changed, 41 insertions, 1 deletions
diff --git a/src/include/cctk_GroupsOnGH.h b/src/include/cctk_GroupsOnGH.h index 46ae84de..10d18ba9 100644 --- a/src/include/cctk_GroupsOnGH.h +++ b/src/include/cctk_GroupsOnGH.h @@ -11,6 +11,17 @@ #ifndef _CCTK_GROUPSONGH_H_ #define _CCTK_GROUPSONGH_H_ +typedef struct GROUPDYNAMICDATA +{ + int dim; + const int *gsh; + const int *lsh; + const int *lbnd; + const int *ubnd; + const int *bbox; + const int *nghostzones; +} cGroupDynamicData; + /* Prototypes */ #ifdef __cplusplus @@ -28,8 +39,37 @@ int CCTK_DisableGroupCommI(void *GH, int group); int CCTK_EnableGroupStorageI(void *GH, int group); int CCTK_EnableGroupCommI(void *GH, int group); +int CCTK_GrouplbndGN(cGH *GH, int dim, int *lbnd, const char *groupname); +int CCTK_GrouplbndVN(cGH *GH, int dim, int *lbnd, const char *varname); +int CCTK_GrouplbndGI(cGH *GH, int dim, int *lbnd, int groupindex); +int CCTK_GrouplbndVI(cGH *GH, int dim, int *lbnd, int varindex); + +int CCTK_GroupubndGN(cGH *GH, int dim, int *ubnd, const char *groupname); +int CCTK_GroupubndVN(cGH *GH, int dim, int *ubnd, const char *varname); +int CCTK_GroupubndGI(cGH *GH, int dim, int *ubnd, int groupindex); +int CCTK_GroupubndVI(cGH *GH, int dim, int *ubnd, int varindex); + +int CCTK_GrouplshGN(cGH *GH, int dim, int *lsh, const char *groupname); +int CCTK_GrouplshVN(cGH *GH, int dim, int *lsh, const char *varname); +int CCTK_GrouplshGI(cGH *GH, int dim, int *lsh, int groupindex); +int CCTK_GrouplshVI(cGH *GH, int dim, int *lsh, int varindex); + +int CCTK_GroupgshGN(cGH *GH, int dim, int *gsh, const char *groupname); +int CCTK_GroupgshVN(cGH *GH, int dim, int *gsh, const char *varname); +int CCTK_GroupgshGI(cGH *GH, int dim, int *gsh, int groupindex); +int CCTK_GroupgshVI(cGH *GH, int dim, int *gsh, int varindex); + +int CCTK_GroupnghostzonesGN(cGH *GH, int dim, int *nghostzones, + const char *groupname); +int CCTK_GroupnghostzonesVN(cGH *GH, int dim, int *nghostzones, + const char *varname); +int CCTK_GroupnghostzonesGI(cGH *GH, int dim, int *nghostzones, + int groupindex); +int CCTK_GroupnghostzonesVI(cGH *GH, int dim, int *nghostzones, + int varindex); + #ifdef __cplusplus } #endif - + #endif |