aboutsummaryrefslogtreecommitdiff
path: root/interface.ccl
blob: 4ebf2295fe729f2cf065c0661508a9ee0f00cc27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Interface definition for thorn ADMConstraints
# $Header$

implements: admconstraints
inherits: ADMBase, StaticConformal, SpaceMask, grid, ADMMacros, TmunuBase
friend: ADMCoupling

USES INCLUDE: CalcTmunu.inc
USES INCLUDE: CalcTmunu_temps.inc
USES INCLUDE: SpaceMask.h

# Function aliases
CCTK_INT FUNCTION Boundary_SelectVarForBC(CCTK_POINTER_TO_CONST IN GH, \
  CCTK_INT IN faces, CCTK_INT IN boundary_width, CCTK_INT IN table_handle, \
  CCTK_STRING IN var_name, CCTK_STRING IN bc_name)
CCTK_INT FUNCTION Boundary_SelectGroupForBC(CCTK_POINTER_TO_CONST IN GH, \
  CCTK_INT IN faces, CCTK_INT IN boundary_width, CCTK_INT IN table_handle, \
  CCTK_STRING IN group_name, CCTK_STRING IN bc_name)

USES FUNCTION Boundary_SelectVarForBC
USES FUNCTION Boundary_SelectGroupForBC

public:

real hamiltonian type=GF timelevels=3 tags='tensortypealias="Scalar" ProlongationParameter="ADMConstraints::constraints_prolongation_type"'
{
  ham
} "Hamiltonian constraint"

real normalized_hamiltonian timelevels=3 type=GF  tags='tensortypealias="Scalar" ProlongationParameter="ADMConstraints::constraints_prolongation_type"'
{
  hamnormalized
} "Normalized hamiltonian constraint"

real momentum type=GF timelevels=3 tags='tensortypealias="d" ProlongationParameter="ADMConstraints::constraints_prolongation_type"'
{
  momx,
  momy,
  momz  
} "Momentum constraints"