aboutsummaryrefslogtreecommitdiff
path: root/interface.ccl
diff options
context:
space:
mode:
authorschnetter <schnetter@906471b6-c639-44d1-9ea0-3e3d6879f074>2006-06-22 20:01:47 +0000
committerschnetter <schnetter@906471b6-c639-44d1-9ea0-3e3d6879f074>2006-06-22 20:01:47 +0000
commita539b85e390beaeb3c5555491083fe86ac2b127f (patch)
treec4a34240765d68cc6ce3a72fef7ea31de24ef63f /interface.ccl
parentd97ad7720ff7425bd03d5558d6a30c5e2d96672b (diff)
Introduce a new aliased function "GetSymmetryBoundaries" to SymBase,
which looks at the symmetry table and returns an array describing which outer boundaries are symmetry boundaries. This function is easier to use that examining the table manually. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/SymBase/trunk@35 906471b6-c639-44d1-9ea0-3e3d6879f074
Diffstat (limited to 'interface.ccl')
-rw-r--r--interface.ccl9
1 files changed, 9 insertions, 0 deletions
diff --git a/interface.ccl b/interface.ccl
index f794dd9..767bc76 100644
--- a/interface.ccl
+++ b/interface.ccl
@@ -111,6 +111,15 @@ PROVIDES FUNCTION SymmetryTableHandleForGN \
WITH SymBase_SymmetryTableHandleForGN \
LANGUAGE C
+CCTK_INT FUNCTION \
+ GetSymmetryBoundaries \
+ (CCTK_POINTER_TO_CONST IN cctkGH, \
+ CCTK_INT IN size, \
+ CCTK_INT OUT ARRAY symbnd)
+PROVIDES FUNCTION GetSymmetryBoundaries \
+ WITH SymBase_GetSymmetryBoundaries \
+ LANGUAGE C
+
# Interpolation