aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
blob: 7a33dd3dfc299ca6d202c3d7c3582196c3622f39 (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
# Make sure there is storage for the conformal state flag
# so we can use it irrespective of metric_type
storage: conformal_state

schedule ADMConstraints_ParamCheck at CCTK_PARAMCHECK
{
  LANG: C
} "Check that we can deal with this metric_type and have enough conformal derivatives"

schedule ADMConstraints_ConformalCheck at CCTK_POSTINITIAL
{
  LANG: C
} "Set conformal_state to 0 for physical, or check that it is at least 3"

schedule ADMConstraint_InitSymBound at CCTK_BASEGRID
{
  LANG: Fortran
} "Register GF symmetries for ADM Constraints"

if (constraints_persist)
{
  STORAGE: hamiltonian,momentum
  schedule ADMConstraints at CCTK_POSTSTEP
  {
    LANG: Fortran
  } "Evaluate ADM constraints for use in other routines"
}
else
{
  schedule ADMConstraints at CCTK_ANALYSIS
  {		
    LANG: Fortran
    STORAGE: hamiltonian,momentum
    TRIGGERS: hamiltonian,momentum
  } "Evaluate ADM constraints" 
}