summaryrefslogtreecommitdiff
path: root/src/include/cctk_IO.h
blob: fbabb0d3405786e58729adf698d1c09d826215fc (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_IO.h
   @date      1999/07/22
   @author    Tom Goodale
   @desc
              Header defining the variables holding the overloaded
              communication functions
   @enddesc
   @version   $Header$
 @@*/

#ifndef _CCTK_IO_H_
#define _CCTK_IO_H_ 1

#include "OverloadMacros.h"

#ifdef __cplusplus
extern "C" {
#endif

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

#include "IOOverloadables.h"

#undef OVERLOADABLE


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

#include "IOOverloadables.h"

#undef OVERLOADABLE

int CCTK_OutputVarAs (const cGH *GH, const char *var, const char *alias);
int CCTK_OutputVar (const cGH *GH, const char *var);
int CCTK_OutputVarByMethod (const cGH *GH, const char *var, const char *method);

#ifdef __cplusplus
}
#endif

#endif