From 48e3fb88387d2d08cebbad4c0d7eefb677179d81 Mon Sep 17 00:00:00 2001 From: rideout Date: Mon, 28 Apr 2003 22:24:17 +0000 Subject: 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 --- interface.ccl | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'interface.ccl') 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, -- cgit v1.2.3