aboutsummaryrefslogtreecommitdiff
path: root/interface.ccl
blob: 3af82a3e7a782773bf291c3357e28626387f72c0 (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
41
42
43
44
45
46
47
48
# Interface definition for thorn StaticConformal
# $Header$

implements: StaticConformal
inherits: grid

public:

INT conformal_state type = SCALAR

REAL confac TYPE = GF tags='Prolongation="None"'
{
  psi
} "Conformal factor"

REAL confac_1derivs TYPE = GF tags='Prolongation="None"'
{
  psix, psiy, psiz
} "First spatial derivatives of conformal factor divided by psi"

# Will be changed to.
#REAL confac_1derivs TYPE = GF
#{
#  psi_1, psi_2, psi_3
#} "First spatial derivatives of conformal factor divided by psi"

REAL confac_2derivs TYPE = GF tags='Prolongation="None"'
{
  psixx, psixy, psixz, psiyy, psiyz, psizz
} "Second spatial derivatives of conformal factor divided by psi"

# Will be changed to.
#REAL confac_2derivs TYPE = GF
#{
#  psi_11, psi_12, psi_13, psi_22, psi_23, psi_33
#} "Second spatial derivatives of conformal factor divided by psi"

#void FUNCTION StaticConf_ConfToPhysInPlace CCTK_INT nx, CCTK_INT ny, CCTK_INT nz, \
#                                                CCTK_REAL:ARRAY gxx, CCTK_REAL:ARRAY gxy, CCTK_REAL:ARRAY gxz, \
#                                                CCTK_REAL:ARRAY gyy, CCTK_REAL:ARRAY gyz, CCTK_REAL:ARRAY gzz,

#PROVIDES FUNCTION StaticConf_ConfToPhysInPlace WITH StaticConformali_ConfToPhysInPlace

#void FUNCTION StaticConf_PhysToConfInPlace CCTK_INT nx, CCTK_INT ny, CCTK_INT nz, \
#                                                CCTK_REAL:ARRAY gxx, CCTK_REAL:ARRAY gxy, CCTK_REAL:ARRAY gxz, \
#                                                CCTK_REAL:ARRAY gyy, CCTK_REAL:ARRAY gyz, CCTK_REAL:ARRAY gzz,

#PROVIDES FUNCTION StaticConf_PhysToConfInPlace WITH StaticConformali_PhysToConfInPlace