aboutsummaryrefslogtreecommitdiff
path: root/interface.ccl
diff options
context:
space:
mode:
authorhinder <hinder@d576a68a-b34a-40ae-82fc-004fa1a9d16f>2011-08-17 22:07:20 +0000
committerhinder <hinder@d576a68a-b34a-40ae-82fc-004fa1a9d16f>2011-08-17 22:07:20 +0000
commitf3af8764fac614153bb90de8c99257fda51ea094 (patch)
treef5911bdcd915556e0fa8152a673f0c4b03982d6d /interface.ccl
parent728bdea31e3a9f2b2a80b41770402ee5ea048e6e (diff)
Apply "flat" boundary condition instead of "none" to ADMBase variables
In the development version of Carpet, only the interior of the newly created grid is initialized by interpolation, so non-trivial boundary conditions need to be applied. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMBase/trunk@62 d576a68a-b34a-40ae-82fc-004fa1a9d16f
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 b657aac..4debd5c 100644
--- a/interface.ccl
+++ b/interface.ccl
@@ -5,6 +5,14 @@ implements: ADMBase
inherits: grid
USES INCLUDE HEADER: Symmetry.h
+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
+
public:
INT shift_state TYPE = SCALAR "state of storage for shift"