summaryrefslogtreecommitdiff
path: root/src/include/cctk_Comm.h
blob: d2c839b51515c24b3115e48e78f268bd60e6f509 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
 /*@@
   @header    cctk_Comm.h
   @date      Sat Feb  13 19:42:29 1999
   @author    Tom Goodale
   @desc
              Header defining the variables holding the overloaded
              communication functions
   @enddesc
   @version   $Header$
 @@*/

#ifndef _CCTK_COMM_H_
#define _CCTK_COMM_H_ 1

#include "OverloadMacros.h"

#ifdef __cplusplus
extern "C" {
#endif

/* Define the prototypes for the functions. */
#define OVERLOADABLE(name) OVERLOADABLE_PROTOTYPE(name)

#include "CommOverloadables.h"

#undef OVERLOADABLE

/* Define the prototypes for the overloading functions. */
#define OVERLOADABLE(name) OVERLOADABLE_OVERLOADPROTO(name)

#include "CommOverloadables.h"

#undef OVERLOADABLE

int CCTK_QueryGroupStorage (const cGH *GH, const char *groupname);
int CCTK_QueryGroupStorageI (const cGH *GH, int groupindex);
const int *CCTK_ArrayGroupSize (const cGH *GH, int dir, const char *groupname);
const int *CCTK_ArrayGroupSizeI (const cGH *GH, int dir, int groupindex);

#ifdef __cplusplus
}
#endif

#endif  /* _CCTK_COMM_H_ */