summaryrefslogtreecommitdiff
path: root/src/comm/CactusComm.c
blob: d498bdd746640f338eae8f965e34baed8a43d66b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#include <stdio.h>

#include "cctk.h"
#include "flesh.h"
#include "Comm.h"
#include "GHExtensions.h"

int *CCTK_ArrayGroupSizeI(cGH *GH, int index, int dir)
{
  return CCTK_ArrayGroupSizeB(GH,index,NULL,dir);
}

int *CCTK_ArrayGroupSize(cGH *GH, const char *groupname, int dir)
{
  return CCTK_ArrayGroupSizeB(GH,-1,groupname,dir);
}

int CCTK_QueryGroupStorageI(cGH *GH, int index)
{
  return CCTK_QueryGroupStorageB(GH,index , NULL);
}

int CCTK_QueryGroupStorage(cGH *GH, const char *groupname)
{
  return CCTK_QueryGroupStorageB(GH, -1, groupname);
}