diff options
Diffstat (limited to 'src/CoordBase.h')
-rw-r--r-- | src/CoordBase.h | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/src/CoordBase.h b/src/CoordBase.h index b67b07c..364d5ac 100644 --- a/src/CoordBase.h +++ b/src/CoordBase.h @@ -1,10 +1,10 @@ /*@@ - @header CoordBase.h - @date Wed June 26 2002 - @author Gabrielle Allen - @desc - Headers and defines for coordinate base thorn - @enddesc + @header CoordBase.h + @date Wed June 26 2002 + @author Gabrielle Allen + @desc + Defines and prototypes for the coordinate base thorn + @enddesc @version $Header$ @@*/ @@ -13,8 +13,8 @@ #ifndef COORD_IN_COORDBASE -/* Since some people may still be including this header file - * rather than using the function aliasing, we need to +/* Since some people may still be including this header file + * rather than using the function aliasing, we need to * allow them access to the internal functions. */ @@ -24,11 +24,12 @@ #define Coord_CoordHandle CoordBase_CoordHandle #define Coord_GroupSystem CoordBase_GroupSystem #define Coord_SetDefaultSystem CoordBase_SetDefaultSystem +#define Coord_GetDefaultSystem CoordBase_GetDefaultSystem #endif /* COORD_IN_COORDBASE */ -#ifdef __cplusplus -extern "C" +#ifdef __cplusplus +extern "C" { #endif @@ -54,10 +55,13 @@ CCTK_INT CoordBase_GroupSystem(CCTK_POINTER_TO_CONST GH, CCTK_INT CoordBase_SetDefaultSystem(CCTK_POINTER_TO_CONST GH, CCTK_STRING systemname); -#ifdef __cplusplus +CCTK_INT CoordBase_GetDefaultSystem(CCTK_POINTER_TO_CONST GH, + CCTK_INT systemdim); + +#ifdef __cplusplus } #endif - + #define COORDERROR_SYSTEMEXISTS -1 #define COORDERROR_INVALIDDIM -2 #define COORDERROR_INVALIDNAME -3 @@ -72,4 +76,4 @@ CCTK_INT CoordBase_SetDefaultSystem(CCTK_POINTER_TO_CONST GH, #define COORDERROR_NODIMENSION -12 #define COORDERROR_DEFAULTEXISTS -13 -#endif +#endif /* _COORDBASE_H_ */ |