diff options
author | eschnett <eschnett@0337457d-221f-4ee6-a5f0-14255d5370d8> | 2012-06-18 01:45:48 +0000 |
---|---|---|
committer | eschnett <eschnett@0337457d-221f-4ee6-a5f0-14255d5370d8> | 2012-06-18 01:45:48 +0000 |
commit | 13008424c6f9dd16a624e072c358557e71f6a225 (patch) | |
tree | 57d054b68fe7d530e7bd303adcd83439c390a3c8 /interface.ccl | |
parent | e034ea5620c39861c722849d666ff7e97992b3f3 (diff) |
Provide aliased function GetBoundarySizesAndTypes that describes which
faces have what size and what type.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CoordBase/trunk@53 0337457d-221f-4ee6-a5f0-14255d5370d8
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 |