aboutsummaryrefslogtreecommitdiff
path: root/param.ccl
blob: 7abe61ac6e3172c5b4514b36dfb5e2cd100da5c2 (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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
# Parameter definitions for thorn CoordBase
# $Header$



###############################################################################
###   Domain specification                                                  ###
###############################################################################

KEYWORD domainsize "Domain size specification"
{
  "minmax"      :: "lower and upper boundary locations"
  "extent"      :: "coordinate extent"
  "spacing"     :: "grid spacing and number of grid cells"
} "minmax"

KEYWORD spacing "Grid spacing specification"
{
  "gridspacing" :: "grid spacing"
  "numcells"    :: "number of grid cells"
} "gridspacing"



# Domain description in the x direction.
# The other domain descriptions are equivalent.

BOOLEAN zero_origin_x "Is the lower boundary located at x=0?"
{
} "no"

CCTK_REAL xmin "Location of lower x boundary"
{
  (*:*) :: ""
} 0.0

CCTK_REAL xmax "Location of upper x boundary"
{
  (*:*) :: ""
} 1.0

CCTK_REAL xextent "Domain extent in x direction"
{
  (0:*) :: ""
} 1.0

CCTK_REAL dx "Grid spacing in x direction"
{
  (0:*) :: ""
} 1.0

CCTK_INT ncells_x "Number of grid cells in x direction"
{
  0:* :: ""
} 1

# Domain description in the y direction.
# The other domain descriptions are equivalent.

BOOLEAN zero_origin_y "Is the lower boundary located at y=0?"
{
} "no"

CCTK_REAL ymin "Location of lower y boundary"
{
  (*:*) :: ""
} 0.0

CCTK_REAL ymax "Location of upper y boundary"
{
  (*:*) :: ""
} 1.0

CCTK_REAL yextent "Domain extent in y direction"
{
  (0:*) :: ""
} 1.0

CCTK_REAL dy "Grid spacing in y direction"
{
  (0:*) :: ""
} 1.0

CCTK_INT ncells_y "Number of grid cells in y direction"
{
  0:* :: ""
} 1

# Domain description in the z direction.
# The other domain descriptions are equivalent.

BOOLEAN zero_origin_z "Is the lower boundary located at z=0?"
{
} "no"

CCTK_REAL zmin "Location of lower z boundary"
{
  (*:*) :: ""
} 0.0

CCTK_REAL zmax "Location of upper z boundary"
{
  (*:*) :: ""
} 1.0

CCTK_REAL zextent "Domain extent in z direction"
{
  (0:*) :: ""
} 1.0

CCTK_REAL dz "Grid spacing in z direction"
{
  (0:*) :: ""
} 1.0

CCTK_INT ncells_z "Number of grid cells in z direction"
{
  0:* :: ""
} 1



###############################################################################
###   Boundary specification                                                ###
###############################################################################

# Boundary description for the lower x face.
# The other boundary descriptions are equivalent.

CCTK_INT boundary_size_x_lower "Boundary zones at the lower x face"
{
  0:* :: ""
} 1

BOOLEAN boundary_internal_x_lower "Do the boundary points extend inwards at the lower x face?"
{
} "no"

BOOLEAN boundary_staggered_x_lower "Is the boundary is staggered about the grid points at the lower x face?"
{
} "no"

CCTK_INT boundary_shiftout_x_lower "Offset between the boundary location and the first boundary point at the lower x face"
{
  *:* :: "when not staggered: use 0 for an open, 1 for a closed manifold"
} 0

# Boundary description for the upper x face.
# The other boundary descriptions are equivalent.

CCTK_INT boundary_size_x_upper "Boundary zones at the upper x face"
{
  0:* :: ""
} 1

BOOLEAN boundary_internal_x_upper "Do the boundary points extend inwards at the upper x face?"
{
} "no"

BOOLEAN boundary_staggered_x_upper "Is the boundary is staggered about the grid points at the upper x face?"
{
} "no"

CCTK_INT boundary_shiftout_x_upper "Offset between the boundary location and the first boundary point at the upper x face"
{
  *:* :: "when not staggered: use 0 for an open, 1 for a closed manifold"
} 0

# Boundary description for the lower y face.
# The other boundary descriptions are equivalent.

CCTK_INT boundary_size_y_lower "Boundary zones at the lower y face"
{
  0:* :: ""
} 1

BOOLEAN boundary_internal_y_lower "Do the boundary points extend inwards at the lower y face?"
{
} "no"

BOOLEAN boundary_staggered_y_lower "Is the boundary is staggered about the grid points at the lower y face?"
{
} "no"

CCTK_INT boundary_shiftout_y_lower "Offset between the boundary location and the first boundary point at the lower y face"
{
  *:* :: "when not staggered: use 0 for an open, 1 for a closed manifold"
} 0

# Boundary description for the upper y face.
# The other boundary descriptions are equivalent.

CCTK_INT boundary_size_y_upper "Boundary zones at the upper y face"
{
  0:* :: ""
} 1

BOOLEAN boundary_internal_y_upper "Do the boundary points extend inwards at the upper y face?"
{
} "no"

BOOLEAN boundary_staggered_y_upper "Is the boundary is staggered about the grid points at the upper y face?"
{
} "no"

CCTK_INT boundary_shiftout_y_upper "Offset between the boundary location and the first boundary point at the upper y face"
{
  *:* :: "when not staggered: use 0 for an open, 1 for a closed manifold"
} 0

# Boundary description for the lower z face.
# The other boundary descriptions are equivalent.

CCTK_INT boundary_size_z_lower "Boundary zones at the lower z face"
{
  0:* :: ""
} 1

BOOLEAN boundary_internal_z_lower "Do the boundary points extend inwards at the lower z face?"
{
} "no"

BOOLEAN boundary_staggered_z_lower "Is the boundary is staggered about the grid points at the lower z face?"
{
} "no"

CCTK_INT boundary_shiftout_z_lower "Offset between the boundary location and the first boundary point at the lower z face"
{
  *:* :: "when not staggered: use 0 for an open, 1 for a closed manifold"
} 0

# Boundary description for the upper z face.
# The other boundary descriptions are equivalent.

CCTK_INT boundary_size_z_upper "Boundary zones at the upper z face"
{
  0:* :: ""
} 1

BOOLEAN boundary_internal_z_upper "Do the boundary points extend inwards at the upper z face?"
{
} "no"

BOOLEAN boundary_staggered_z_upper "Is the boundary is staggered about the grid points at the upper z face?"
{
} "no"

CCTK_INT boundary_shiftout_z_upper "Offset between the boundary location and the first boundary point at the upper z face"
{
  *:* :: "when not staggered: use 0 for an open, 1 for a closed manifold"
} 0