aboutsummaryrefslogtreecommitdiff
path: root/interface.ccl
diff options
context:
space:
mode:
authorrideout <rideout@6a38eb6e-646e-4a02-a296-d141613ad6c4>2002-12-29 17:03:37 +0000
committerrideout <rideout@6a38eb6e-646e-4a02-a296-d141613ad6c4>2002-12-29 17:03:37 +0000
commit8f154b55e17ffe1a01b8388751827d0cccdc475b (patch)
treefd5f8ff4c6fe7ea94ec38574a1a66fab9366feeb /interface.ccl
parent6723531f97ceaa24d9dc246bc07d65ff8acd09ad (diff)
Implementation of new boundary condition spec described on the
cactuscode.org development web page. Registers a routine implementing radiative boundary conditions under the boundary condition name "Radiative". The registered routine is a wrapper for the existing radiative boundary conditions. For the moment this uses hard-wired parameters, and calls BndRadiativeVI() sequentially on each variable requested for radiative boundary conditions. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@186 6a38eb6e-646e-4a02-a296-d141613ad6c4
Diffstat (limited to 'interface.ccl')
-rw-r--r--interface.ccl30
1 files changed, 30 insertions, 0 deletions
diff --git a/interface.ccl b/interface.ccl
index e8bcdb5..7950d1d 100644
--- a/interface.ccl
+++ b/interface.ccl
@@ -7,3 +7,33 @@ inherits: grid
INCLUDES HEADER: Boundary.h in Boundary.h
USES INCLUDE HEADER: Symmetry.h
+
+
+# Implementation of new boundary spec:
+
+CCTK_INT FUNCTION Boundary_RegisterPhysicalBC CCTK_POINTER GH, \
+ CCTK_FPOINTER function_pointer, CCTK_STRING bc_name
+PROVIDES FUNCTION Boundary_RegisterPhysicalBC WITH \
+ Boundary_Boundary_RegisterPhysicalBC
+USES FUNCTION Boundary_RegisterPhysicalBC
+
+CCTK_INT FUNCTION Boundary_SelectVarForBC CCTK_POINTER GH, \
+ CCTK_INT table_handle, CCTK_STRING var_name, CCTK_STRING bc_name
+CCTK_INT FUNCTION Boundary_SelectVarForBCI CCTK_POINTER GH, \
+ CCTK_INT table_handle, CCTK_INT var_index, CCTK_STRING bc_name
+CCTK_INT FUNCTION Boundary_SelectGroupForBC CCTK_POINTER GH, \
+ CCTK_INT table_handle, CCTK_STRING group_name, CCTK_STRING bc_name
+CCTK_INT FUNCTION Boundary_SelectGroupForBCI CCTK_POINTER GH, \
+ CCTK_INT table_handle, CCTK_INT group_index, CCTK_STRING bc_name
+PROVIDES FUNCTION Boundary_SelectVarForBC WITH Boundary_Boundary_SelectVarForBC
+PROVIDES FUNCTION Boundary_SelectVarForBCI WITH \
+ Boundary_Boundary_SelectVarForBCI
+PROVIDES FUNCTION Boundary_SelectGroupForBC WITH \
+ Boundary_Boundary_SelectGroupForBC
+PROVIDES FUNCTION Boundary_SelectGroupForBCI WITH \
+ Boundary_Boundary_SelectGroupForBCI
+
+CCTK_INT FUNCTION Boundary_SelectedGVs CCTK_POINTER GH, \
+ CCTK_INT array_size, CCTK_POINTER var_indicies, CCTK_POINTER table_handles, \
+ CCTK_STRING bc_name
+PROVIDES FUNCTION Boundary_SelectedGVs WITH Boundary_Boundary_SelectedGVs