/*@@ @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