aboutsummaryrefslogtreecommitdiff
path: root/interface.ccl
diff options
context:
space:
mode:
authorknarf <knarf@1bf05452-ddb3-4880-bfa1-00436340132b>2010-08-25 18:01:53 +0000
committerknarf <knarf@1bf05452-ddb3-4880-bfa1-00436340132b>2010-08-25 18:01:53 +0000
commitebccb57eaaa59f032c85af75f7c1c76989e616fe (patch)
tree54e0e39f0d923e11d05d73b8c7974dcb15d962b8 /interface.ccl
parent0229bbe98155589701a9103932ab837cb73040c1 (diff)
From Ian Hinder:
Before this patch, CactusNumerical/Periodic assumes that the symmetry boundary widths are the same as the number of ghost zones. In newer version of Carpet, the number of ghost zones can be different on different refinement levels, and the number of ghost zones is no longer available when the symmetry BCs are registered. This patch makes the Periodic thorn get the boundary widths from CoordBase instead, in the same way that the other symmetry thorns do already. This introduces a new dependency on CoordBase. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Periodic/trunk@20 1bf05452-ddb3-4880-bfa1-00436340132b
Diffstat (limited to 'interface.ccl')
-rw-r--r--interface.ccl8
1 files changed, 8 insertions, 0 deletions
diff --git a/interface.ccl b/interface.ccl
index d056243..cc228db 100644
--- a/interface.ccl
+++ b/interface.ccl
@@ -27,3 +27,11 @@ CCTK_INT FUNCTION Boundary_SelectedGVs(CCTK_POINTER_TO_CONST IN GH, \
CCTK_INT ARRAY OUT faces, CCTK_INT ARRAY OUT boundary_widths, \
CCTK_INT ARRAY OUT table_handles, CCTK_STRING IN bc_name)
REQUIRES FUNCTION Boundary_SelectedGVs
+
+CCTK_INT FUNCTION GetBoundarySpecification \
+ (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)
+REQUIRES FUNCTION GetBoundarySpecification