From e7a1044b406fae8c0fd1b40f848e40a8f9638152 Mon Sep 17 00:00:00 2001 From: goodale Date: Sat, 8 May 2004 00:03:08 +0000 Subject: Added aliased versions for the CoordBase functions. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@171 94b1c47f-dcfd-45ef-a468-0854c0e9e350 --- interface.ccl | 57 +++++++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 49 insertions(+), 8 deletions(-) diff --git a/interface.ccl b/interface.ccl index 82a36c3..3f08de0 100644 --- a/interface.ccl +++ b/interface.ccl @@ -26,14 +26,14 @@ CCTK_INT FUNCTION \ CCTK_INT ARRAY IN extent, \ CCTK_INT ARRAY IN downsample, \ CCTK_INT IN table_handle, \ - CCTK_INT IN CCTK_FPOINTER \ - conversion_fn (CCTK_INT IN nelems, \ - CCTK_INT IN src_stride,\ - CCTK_INT IN dst_stride,\ - CCTK_INT IN src_type, \ - CCTK_INT IN dst_type, \ - CCTK_POINTER_TO_CONST IN from, \ - CCTK_POINTER IN to), \ + CCTK_INT CCTK_FPOINTER IN \ + conversion_fn (CCTK_INT IN nelems, \ + CCTK_INT IN src_stride, \ + CCTK_INT IN dst_stride, \ + CCTK_INT IN src_type, \ + CCTK_INT IN dst_type, \ + CCTK_POINTER_TO_CONST IN from, \ + CCTK_POINTER IN to), \ CCTK_INT ARRAY OUT hsize) CCTK_INT FUNCTION Hyperslab_FreeMapping (CCTK_INT IN mapping_handle) @@ -42,3 +42,44 @@ CCTK_INT FUNCTION Hyperslab_FreeMapping (CCTK_INT IN mapping_handle) REQUIRES FUNCTION Hyperslab_GetList REQUIRES FUNCTION Hyperslab_GlobalMappingByIndex REQUIRES FUNCTION Hyperslab_FreeMapping + +CCTK_INT FUNCTION Coord_SystemRegister \ + (CCTK_POINTER_TO_CONST IN GH, \ + CCTK_INT IN dim, \ + CCTK_STRING IN systemname) + +REQUIRES FUNCTION Coord_SystemRegister + +CCTK_INT FUNCTION Coord_SystemHandle \ + (CCTK_POINTER_TO_CONST IN GH, \ + CCTK_STRING IN systemname) + +REQUIRES FUNCTION Coord_SystemHandle + +CCTK_INT FUNCTION Coord_CoordRegister \ + (CCTK_POINTER_TO_CONST IN GH, \ + CCTK_INT IN systemhandle, \ + CCTK_INT IN direction, \ + CCTK_STRING IN coordname) + +REQUIRES FUNCTION Coord_CoordRegister + +CCTK_INT FUNCTION Coord_CoordHandle \ + (CCTK_POINTER_TO_CONST IN GH, \ + CCTK_STRING IN coordname, \ + CCTK_STRING IN systemname) + +REQUIRES FUNCTION Coord_CoordHandle + +CCTK_INT FUNCTION Coord_GroupSystem \ + (CCTK_POINTER_TO_CONST IN GH, \ + CCTK_STRING IN groupname) + +REQUIRES FUNCTION Coord_GroupSystem + +CCTK_INT FUNCTION Coord_SetDefaultSystem \ + (CCTK_POINTER_TO_CONST IN GH, \ + CCTK_STRING IN systemname) + +REQUIRES FUNCTION Coord_SetDefaultSystem + -- cgit v1.2.3