aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
blob: 3e2b2c843d9eba91d4607c2bb75c2a9f0d721a54 (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
49
50
51
52
53
54
55
56
57
58
# Schedule definitions for thorn ADMBase
# $Header$

STORAGE: metric[1], curv[1], lapse[1]

# Initial data for the spatial slices

if(CCTK_Equals(initial_data, "Cartesian Minkowski"))
{
  SCHEDULE ADMBase_CartesianMinkowski at CCTK_INITIAL
  {	
    LANG: C
  } "Set the metric and extrinsic curvature to cartesian minkowski values"
}

# Initial data for the lapse

if(CCTK_Equals(initial_lapse, "one"))
{
  SCHEDULE ADMBase_LapseOne at CCTK_INITIAL
  {	
    LANG: C
  } "Set the lapse to 1 at all points"
}

# Do we have storage for the shift ?
if (!CCTK_Equals(initial_shift,"none")) 
{
  STORAGE: shift[1]

  SCHEDULE ADMBase_SetShiftStateOn at CCTK_BASEGRID
  {	
    LANG: C
  } "Set the shift_state variable to 1"
}
else
{
  SCHEDULE ADMBase_SetShiftStateOff at CCTK_BASEGRID
  {	
    LANG: C
  } "Set the shift_state variable to 0"
}

# Initial data for the shift

if(CCTK_Equals(initial_shift, "zero"))
{
  SCHEDULE ADMBase_ShiftZero at CCTK_INITIAL
  {	
    LANG: C
  } "Set the shift to 0 at all points"
}

# FIXME: Remove this when symmetries done better 
schedule Einstein_InitSymBound at CCTK_BASEGRID
{
  LANG: C
} "Set up GF symmetries"