aboutsummaryrefslogtreecommitdiff
path: root/param.ccl
blob: ca7335f4069377ecf79f8ba1827f551f0b1867ec (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
# Parameter definitions for thorn EHFinder
# $Header$

private:

KEYWORD eh_metric_type "Do we use numerical or analytic metric information"
{
  "numerical" :: "Read in metric from numerical data"
  "analytic"  :: "Use external analytic metric"
} "analytic"
 
KEYWORD eh_lapse_type "Do we use numerical or analytic metric information"
{
  "numerical" :: "Read in metric from numerical data"
  "analytic"  :: "Use external analytic metric"
} "analytic"

KEYWORD eh_shift_type "Do we use numerical or analytic metric information"
{
  "numerical" :: "Read in metric from numerical data"
  "analytic"  :: "Use external analytic metric"
} "analytic"

KEYWORD initial_f "Initial surface choice"
{
  "sphere"     :: "spherical surface"
  "ellipsoid"  :: "ellipsoidal surface"
  "cassini"    :: "ovaloid of cassini"
} "sphere"

REAL initial_rad "Initial radius of surface"
{
0.0:            :: "Positive please"
} 1.0

REAL initial_a "Initial a coefficient of ellipsoid"
{
0.0:            :: "Positive please"
} 1.0

REAL initial_b "Initial b coefficient of ellipsoid"
{
0.0:            :: "Positive please"
} 1.0

REAL initial_c "Initial c coefficient of ellipsoid"
{
0.0:            :: "Positive please"
} 1.0

REAL rotation_alpha "Rotation angle around z-axis of ellipsoid"
{
*:*              :: "Everything is possible"
} 0.0

REAL rotation_beta "Rotation angle around y-axis of ellipsoid"
{
*:*              :: "Everything is possible"
} 0.0

REAL rotation_gamma "Rotation angle around x-axis of ellipsoid"
{
*:*              :: "Everything is possible"
} 0.0

REAL translate_x "Translation in x-direction"
{
*:*              :: "Everything is possible"
} 0.0

REAL translate_y "Translation in y-direction"
{
*:*              :: "Everything is possible"
} 0.0

REAL translate_z "Translation in z-direction"
{
*:*              :: "Everything is possible"
} 0.0

REAL cas_a "Initial a coefficient of ovaloid of cassini"
{
:                :: "Any number (negative and positive are equivalent)"
} 2.0

REAL cas_b "Initial b coefficient of ovaloid of cassini"
{
:                :: "Any number (negative and positive are equivalent)"
} 2.05

REAL shell_width "Width of the evolution region in units of the grid spacing"
{
0.0:            :: "Positive please"
} 7.0

BOOLEAN normalize "normalize the derivatives of the level set function"
{
} "no"

BOOLEAN one_sided "Use one sided differences everywhere"
{
} "no"

KEYWORD mode "Mode of operation"
{
  "normal"  :: "Find event horizons"
  "test_reparam" :: "Test reparametrization routines with MoL"
  "analysis" :: "Provide storage for f without evolving"
} "normal"

KEYWORD upwind_type "Type of upwinding used in evolving the ehfinder equations"
{
  "intrinsic" :: "Use the values of f itself to determine upwind direction"
  "shift"     :: "Use the shift to determine upwind direction"
} "intrinsic"

BOOLEAN reparam_undo "Should re-parametrization be undone at pinch-off"
{
} "no"

KEYWORD re_param_method "Integration method in re-parametrization"
{
  "approx"  :: "Approximate re-parametrization scheme"
  "pde"     :: "Re-parametrize by solving an pde"
  "mixed"   :: "Use both schemes interchangably"
} "pde"

KEYWORD re_param_int_method "Integration method in pde re-parametrization"
{
  "euler"  :: "Standard euler scheme"
  "rk2"    :: "Second order Runge-Kutta scheme"
} "euler"

INT re_param_max_iter "maximum number of iteration in the re-parametrization"
{
0:        :: "Positive please"
} 800

KEYWORD pde_differences "Type of finite diffencing used in pde re-parametrization"
{
  "centered" :: "Use 2nd order centered differences except at the boundaries"
  "upwind"   :: "Use 1st order upwinded differences everywhere"
  "upwind2"  :: "Use 2nd order upwinded differences everywhere"
} "upwind2"

INT reparametrize_every_pde "Re-parametrize every using pde method"
{
0:               :: "If 0 don't re-parametrize using pde method"
} 100

INT reparametrize_every_approx "Re-parametrize every using approx method"
{
0:               :: "If 0 don't re-parametrize using approx method"
} 10

INT last_iteration_number "The starting iteration number for the EH_Finder (last iteration number of the simulation)"
{
0:              :: "Positive please"
} 0

INT saved_iteration_every "How often was the numerical data saved"
{
1:               :: "Positive please"
} 1

INT ntheta "Number of points in the theta direction when finding points on the surface"
{
1:*:2            :: "Positive and odd please"
} 51

INT nphi "Number of points in the phi direction when finding points on the surface"
{
1:*:2            :: "Positive and odd please"
} 51

INT n_array_ghosts "Number of ghost points in the surface grid array"
{
1:               :: "Positive please"
} 1

INT maximum_surface_number "The maximum number of surfaces expected in the data"{
  1:*            :: "Positive please"
} 1

BOOLEAN use_user_center "Should the user prescribed center be used"
{
} "no"

CCTK_REAL center_x "The x-coordinate of the center"
{
*:*              :: "Anything"
} 0.0

CCTK_REAL center_y "The y-coordinate of the center"
{
*:*              :: "Anything"
} 0.0

CCTK_REAL center_z "The z-coordinate of the center"
{
*:*              :: "Anything"
} 0.0

shares: grid

USES KEYWORD domain
USES KEYWORD quadrant_direction
USES KEYWORD bitant_plane

shares: admbase

USES KEYWORD metric_type

EXTENDS KEYWORD initial_data
{
  "read from file" :: "Read in metric from a file"
}

EXTENDS KEYWORD initial_lapse
{
  "read from file" :: "Read in lapse from a file"
}

EXTENDS KEYWORD initial_shift
{
  "read from file" :: "Read in shift from a file"
}

shares: spacemask

USES KEYWORD use_mask