summaryrefslogtreecommitdiff
path: root/src/comm/CactusComm.c
blob: c39eaac3728fc4525613a510ddc0fe9b6809f966 (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 "cctk_Flesh.h"
#include "cctk_Comm.h"
#include "cctk_GHExtensions.h"

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

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

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);
}