diff options
Diffstat (limited to 'interface.ccl')
-rw-r--r-- | interface.ccl | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/interface.ccl b/interface.ccl index 360120e..1aa5854 100644 --- a/interface.ccl +++ b/interface.ccl @@ -7,6 +7,8 @@ implements: CoordBase include header: CoordBase.h in CoordBase.h + + # Exported functions CCTK_INT FUNCTION Coord_SystemRegister \ @@ -63,6 +65,7 @@ PROVIDES FUNCTION Coord_GetDefaultSystem \ LANGUAGE C + # The location of the boundary points CCTK_INT FUNCTION GetBoundarySpecification \ @@ -135,3 +138,44 @@ PROVIDES FUNCTION ConvertFromExteriorBoundary \ WITH CoordBase_ConvertFromExteriorBoundary \ LANGUAGE C + + +# Convenient way to determine boundary sizes +CCTK_INT FUNCTION GetBoundarySizesAndTypes \ + (CCTK_POINTER_TO_CONST IN cctkGH, \ + CCTK_INT IN size, \ + CCTK_INT OUT ARRAY bndsize, \ + CCTK_INT OUT ARRAY is_ghostbnd, \ + CCTK_INT OUT ARRAY is_symbnd, \ + CCTK_INT OUT ARRAY is_physbnd) +PROVIDES FUNCTION GetBoundarySizesAndTypes \ + WITH CoordBase_GetBoundarySizesAndTypes \ + LANGUAGE C + + + +CCTK_INT FUNCTION SymmetryTableHandleForGrid \ + (CCTK_POINTER_TO_CONST IN cctkGH) +USES FUNCTION SymmetryTableHandleForGrid + +# Current map +CCTK_INT FUNCTION MultiPatch_GetMap \ + (CCTK_POINTER_TO_CONST IN cctkGH) +USES FUNCTION MultiPatch_GetMap + +# Multi-patch bbox, specifying outer boundaries +CCTK_INT FUNCTION MultiPatch_GetBbox \ + (CCTK_POINTER_TO_CONST IN cctkGH, \ + CCTK_INT IN size, \ + CCTK_INT OUT ARRAY bbox) +USES FUNCTION MultiPatch_GetBbox + +# The location of the boundary points +CCTK_INT FUNCTION MultiPatch_GetBoundarySpecification \ + (CCTK_INT IN map, \ + CCTK_INT IN size, \ + CCTK_INT OUT ARRAY nboundaryzones, \ + CCTK_INT OUT ARRAY is_internal, \ + CCTK_INT OUT ARRAY is_staggered, \ + CCTK_INT OUT ARRAY shiftout) +USES FUNCTION MultiPatch_GetBoundarySpecification |