diff options
author | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-04-15 10:03:57 +0000 |
---|---|---|
committer | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 1999-04-15 10:03:57 +0000 |
commit | ee2fbfc3c659d10440b6ecf01a104cae14e078a3 (patch) | |
tree | 06d8160fde0dbea56f483d6aabdc6755080d73ce /src/comm | |
parent | e14c9fb43218d71e78f6b91ca0381602d22624c0 (diff) |
Added CCTK_QueryGroupStorage
git-svn-id: http://svn.cactuscode.org/flesh/trunk@481 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/comm')
-rw-r--r-- | src/comm/CactusComm.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/comm/CactusComm.c b/src/comm/CactusComm.c index 08c32715..e26915b4 100644 --- a/src/comm/CactusComm.c +++ b/src/comm/CactusComm.c @@ -16,3 +16,13 @@ int *CCTK_ArrayGroupSize(cGH *GH, const char *groupname, int dir) { return CCTK_ArrayGroupSize_ByBoth(GH,-1,groupname,dir); } + +int CCTK_QueryGroupStorage_ByIndex(cGH *GH, int index) +{ + return CCTK_QueryGroupStorage_ByBoth(GH,index , NULL); +} + +int CCTK_QueryGroupStorage(cGH *GH, const char *groupname) +{ + return CCTK_QueryGroupStorage_ByBoth(GH, -1, groupname); +} |