aboutsummaryrefslogtreecommitdiff
path: root/interface.ccl
diff options
context:
space:
mode:
authorrideout <rideout@b7a48df3-cbbf-4440-997f-b4b717c9f7fc>2003-04-28 22:24:17 +0000
committerrideout <rideout@b7a48df3-cbbf-4440-997f-b4b717c9f7fc>2003-04-28 22:24:17 +0000
commit48e3fb88387d2d08cebbad4c0d7eefb677179d81 (patch)
treed58aaab2b2ee5bbd5cfec3da660d759b0f264157 /interface.ccl
parent37ecaa15d029f7ca274b2db95c6aced9e63b3992 (diff)
Split hamnormalized into its own variable group, so that it will work
properly with Cartoon. Cartoon is now properly called by selecting variables for 'None' boundary condition, and defining their proper tensortypealias in interface.ccl. Note that this illustrates how to trigger an entire schedule group in the ANALYSIS time bin. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/ADMConstraints/trunk@84 b7a48df3-cbbf-4440-997f-b4b717c9f7fc
Diffstat (limited to 'interface.ccl')
-rw-r--r--interface.ccl19
1 files changed, 16 insertions, 3 deletions
diff --git a/interface.ccl b/interface.ccl
index 8516ed7..023a1b4 100644
--- a/interface.ccl
+++ b/interface.ccl
@@ -8,15 +8,28 @@ friend: ADMCoupling
USES INCLUDE: CalcTmunu.inc
USES INCLUDE: CalcTmunu_temps.inc
+# Function aliases
+CCTK_INT FUNCTION Boundary_SelectVarForBC(CCTK_POINTER GH, CCTK_INT faces, \
+ CCTK_INT table_handle, CCTK_STRING var_name, CCTK_STRING bc_name)
+CCTK_INT FUNCTION Boundary_SelectGroupForBC(CCTK_POINTER GH, CCTK_INT faces, \
+ CCTK_INT table_handle, CCTK_STRING group_name, CCTK_STRING bc_name)
+
+USES FUNCTION Boundary_SelectVarForBC
+USES FUNCTION Boundary_SelectGroupForBC
+
private:
-real hamiltonian type=GF
+real hamiltonian type=GF tags='tensortypealias="Scalar"'
{
ham
+} "Hamiltonian constraint"
+
+real normalized_hamiltonian type=GF tags='tensortypealias="Scalar"'
+{
hamnormalized
-} "Hamiltonian constraint"
+} "Normalized hamiltonian constraint""
-real momentum type=GF
+real momentum type=GF tags='tensortypealias="U"'
{
momx,
momy,