aboutsummaryrefslogtreecommitdiff
path: root/interface.ccl
diff options
context:
space:
mode:
authortradke <tradke@0337457d-221f-4ee6-a5f0-14255d5370d8>2004-05-09 14:51:19 +0000
committertradke <tradke@0337457d-221f-4ee6-a5f0-14255d5370d8>2004-05-09 14:51:19 +0000
commit93b29a5e7ea6c7b97746202c24daa475f32923c3 (patch)
tree6f9e6e5d12e80d0405616f34590921884d2c41ee /interface.ccl
parent32d2d2fe0a90e255f268251b22b919d1fafd7554 (diff)
Added aliased function Coord_GetDefaultSystem() which returns the
default coordinate system registered for a given grid dimension. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CoordBase/trunk@15 0337457d-221f-4ee6-a5f0-14255d5370d8
Diffstat (limited to 'interface.ccl')
-rw-r--r--interface.ccl11
1 files changed, 9 insertions, 2 deletions
diff --git a/interface.ccl b/interface.ccl
index f213cc8..b85937f 100644
--- a/interface.ccl
+++ b/interface.ccl
@@ -1,7 +1,7 @@
# Interface definition for thorn CoordBase
# $Header$
-implements: CoordBase
+implements: CoordBase
# Old header file - should use aliased functions
@@ -18,7 +18,7 @@ PROVIDES FUNCTION Coord_SystemRegister \
LANGUAGE C
CCTK_INT FUNCTION Coord_SystemHandle \
- (CCTK_POINTER_TO_CONST IN GH, \
+ (CCTK_POINTER_TO_CONST IN GH, \
CCTK_STRING IN systemname)
PROVIDES FUNCTION Coord_SystemHandle \
WITH CoordBase_SystemHandle \
@@ -55,6 +55,13 @@ PROVIDES FUNCTION Coord_SetDefaultSystem \
WITH CoordBase_SetDefaultSystem \
LANGUAGE C
+CCTK_INT FUNCTION Coord_GetDefaultSystem \
+ (CCTK_POINTER_TO_CONST IN GH, \
+ CCTK_INT IN systemdim)
+PROVIDES FUNCTION Coord_GetDefaultSystem \
+ WITH CoordBase_GetDefaultSystem \
+ LANGUAGE C
+
# The location of the boundary points