aboutsummaryrefslogtreecommitdiff
path: root/Examples/EM/schedule.ccl
blob: 3dfb80d2d200769b035f1c8db2162d60ff38f321 (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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
# File produced by Kranc


if (other_timelevels == 1)
{
  STORAGE: constraints[1]
}

if (other_timelevels == 1)
{
  STORAGE: endens[1]
}

if (timelevels == 1)
{
  STORAGE: B_group[1]
}
if (timelevels == 2)
{
  STORAGE: B_group[2]
}
if (timelevels == 3)
{
  STORAGE: B_group[3]
}

if (timelevels == 1)
{
  STORAGE: El_group[1]
}
if (timelevels == 2)
{
  STORAGE: El_group[2]
}
if (timelevels == 3)
{
  STORAGE: El_group[3]
}

if (rhs_timelevels == 1)
{
  STORAGE: B_grouprhs[1]
}
if (rhs_timelevels == 2)
{
  STORAGE: B_grouprhs[2]
}
if (rhs_timelevels == 3)
{
  STORAGE: B_grouprhs[3]
}

if (rhs_timelevels == 1)
{
  STORAGE: El_grouprhs[1]
}
if (rhs_timelevels == 2)
{
  STORAGE: El_grouprhs[2]
}
if (rhs_timelevels == 3)
{
  STORAGE: El_grouprhs[3]
}

schedule EM_Startup at STARTUP
{
  LANG: C
  OPTIONS: meta
} "create banner"

schedule EM_RegisterVars in MoL_Register
{
  LANG: C
  OPTIONS: meta
} "Register Variables for MoL"

schedule EM_RegisterSymmetries in SymmetryRegister
{
  LANG: C
  OPTIONS: meta
} "register symmetries"

schedule EM_initial at CCTK_INITIAL
{
  LANG: C
} "EM_initial"

schedule EM_evol in MoL_CalcRHS
{
  LANG: C
} "EM_evol"

schedule group EM_constraints_group in MoL_PseudoEvolution
{
  # no language specified
} "EM_constraints"

schedule EM_constraints in EM_constraints_group
{
  LANG: C
} "EM_constraints"

schedule EM_constraints_SelectBCs in EM_constraints_bc_group
{
  LANG: C
  OPTIONS: level
  SYNC: constraints
} "EM_constraints_SelectBCs"

schedule group ApplyBCs as EM_constraints_ApplyBCs in EM_constraints_bc_group after EM_constraints_SelectBCs
{
  # no language specified
} "Apply BCs for groups set in EM_constraints"

schedule group EM_constraints_bc_group in EM_constraints_group after EM_constraints
{
  # no language specified
} "EM_constraints"

schedule group EM_constraints_bc_group in MoL_PseudoEvolutionBoundaries after MoL_PostStep
{
  # no language specified
} "EM_constraints"

schedule group EM_energy_group in MoL_PseudoEvolution
{
  # no language specified
} "EM_energy"

schedule EM_energy in EM_energy_group
{
  LANG: C
} "EM_energy"

schedule EM_SelectBoundConds in MoL_PostStep
{
  LANG: C
  OPTIONS: level
  SYNC: B_group
  SYNC: El_group
} "select boundary conditions"

schedule EM_CheckBoundaries at BASEGRID
{
  LANG: C
  OPTIONS: meta
} "check boundaries treatment"

schedule group ApplyBCs as EM_ApplyBCs in MoL_PostStep after EM_SelectBoundConds
{
  # no language specified
} "Apply boundary conditions controlled by thorn Boundary"