blob: 007d628cea8e52a531c1d31448c7fac502903354 (
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
/*@@
@header CoordBase.h
@date Wed June 26 2002
@author Gabrielle Allen
@desc
Headers and defines for coordinate base thorn
@enddesc
@version $Header$
@@*/
#ifndef _COORDBASE_H_
#define _COORDBASE_H_
#ifdef __cplusplus
extern "C"
{
#endif
CCTK_INT Coord_SystemRegister(CCTK_POINTER_TO_CONST GH,
CCTK_INT dim,
CCTK_STRING systemname);
CCTK_INT Coord_SystemHandle(CCTK_POINTER_TO_CONST GH,
CCTK_STRING systemname);
CCTK_INT Coord_CoordRegister(CCTK_POINTER_TO_CONST GH,
CCTK_INT systemhandle,
CCTK_INT direction,
CCTK_STRING coordname);
CCTK_INT Coord_CoordHandle(CCTK_POINTER_TO_CONST GH,
CCTK_STRING coordname,
CCTK_STRING systemname);
CCTK_INT Coord_GroupSystem(CCTK_POINTER_TO_CONST GH,
CCTK_STRING groupname);
CCTK_INT Coord_SetDefaultSystem(CCTK_POINTER_TO_CONST GH,
CCTK_STRING systemname);
#ifdef __cplusplus
}
#endif
#define COORDERROR_SYSTEMEXISTS -1
#define COORDERROR_INVALIDDIM -2
#define COORDERROR_INVALIDNAME -3
#define COORDERROR_TABLEERROR -4
#define COORDERROR_NOSYSTEM -5
#define COORDERROR_INVALIDHANDLE -6
#define COORDERROR_COORDINATEEXISTS -7
#define COORDERROR_DUPLICATENAME -8
#define COORDERROR_NOSUCHCOORD -9
#define COORDERROR_INVALIDGROUPNAME -10
#define COORDERROR_NOCOORDSYS -11
#define COORDERROR_NODIMENSION -12
#define COORDERROR_DEFAULTEXISTS -13
#endif
|