blob: 2db00fd79c3d71b8a00b365ab983b2038b95e28c (
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
|
/*@@
@header Coord.h
@date Mon April 12 1999
@author Gabrielle Allen
@desc
Prototypes and constants for coordinate functions
@enddesc
@version $Header$
@@*/
#ifndef _COORD_H_
#define _COORD_H_
/* Prototypes */
#ifdef __cplusplus
extern "C" {
#endif
struct Coordprops
{
char * name;
int index;
CCTK_REAL origin;
int direction;
};
int CCTK_RegisterCoord(const char *coordname,
const char *gfname,
int dir);
int CCTK_RegisterCoordI(const char *name, int index, int dir);
int CCTK_CoordIndex(const char *name);
CCTK_REAL CCTK_CoordOrigin(const char *name);
#ifdef __cplusplus
}
#endif
#endif
|