aboutsummaryrefslogtreecommitdiff
path: root/param.ccl
blob: 50df1e27168f0474e6b0146c75d54c9f1fb44c38 (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
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
# Parameter definitions for thorn AHFinder
# $Header$


#These parameters are to switch on the finder, and to control how
#often and when to start looking for horizons.

restricted:

BOOLEAN ahf_active "Activate AHFinder?"
{
} "no"

BOOLEAN ahf_persists "Does the AH Finder array and mask stay around"
{
} "no"


private:

BOOLEAN ahf_find3 "Searching for 3 surfaces?"
{
} "no"

BOOLEAN ahf_trapped_surface "Minimize (expansion + delta) to find trapped surface?"
{
} "no"

INT ahf_findevery "How often to look for horizons"
{
 : :: "Ranges from 1 for each iteration to higher numbers with default set to 1"
} 1

INT ahf_findafter "After how many iterations look for horizons"
{
 : :: "By default set to 0, Any positive integer if start later in an evolution"
} 0

REAL ahf_findaftertime "After how much time look for horizons."
{
 : :: "Any positive real number. Default is 0.0. Overides ahf_findafter"
} 0.0

REAL trapped_surface_delta "find (expansion = delta) surface"
{
 : :: "Just a real number. Range ??"
} 0.0

#Parameters for surface expansion.

BOOLEAN ahf_phi "Expand also in phi? I.e seach for non-axisymmetric surface"
{
} "no"

BOOLEAN ahf_offset "Center offset from origin?"
{
} "no"

BOOLEAN ahf_wander "Allow the center to wander?"
{
} "no"

INT ahf_lmax "Maximum number of terms in theta expansion"
{
0:20 :: "Range from 0 to 20. 8 is the default"
} 8

#Parameters for surface integrals.

INT ahf_ntheta "Number of subdivisions in theta"
{
 : :: "Any senseful integer. The default of 200 is useful"
} 200

INT ahf_nphi "Number of subdivisions in phi"
{
 : :: "Any senseful integer. The default of 200 is useful"
} 200

#Parameters to indicate symmetries.  This symmetries refer to the
#surface itself, and NOT the grid.

#Notice that octant = "yes"  enforces reflection symmetries on all
#three coordinate planes, while  octant = "high"  enforces also the
#extra symmetry of rotation of pi/2 around the z axis.

BOOLEAN ahf_refx "Reflection symmetry x->-x?"
{
} "no"

BOOLEAN ahf_refy "Reflection symmetry y->-y?"
{
} "no"

BOOLEAN ahf_refz "Reflection symmetry z->-z?"
{
} "no"

KEYWORD ahf_octant "Octant symmetry?"
{
  "no"   :: "No octant symmetry"
  "yes"  :: "Octant symmetry: reflection symmetry on all three coordinate planes"
  "high" :: "reflection symmetry on all three planes and symmetry of rotation of pi/2 around the z axis"
} "no"

#Parameters for minimization algorithm.

BOOLEAN ahf_minarea "Minimize area instead of expansion?"
{
} "no"

INT ahf_maxiter "Maximum number of iterations of POWELL"
{
 : :: "Any senseful integer value. Default is 10"
} 10

REAL ahf_tol "Tolerance for minimization routines"
{
 : :: "A senseful real number."
} 0.1

#Parameters for initial guess.

BOOLEAN ahf_sloppyguess "Use sphere as initial guess?"
{
} "no"

BOOLEAN ahf_guess_absmin "Use absolute min to start Minimization?"
{
} "no"

BOOLEAN ahf_guessold "Use old horizon as initial guess?"
{
} "no"

BOOLEAN ahf_inner "Look for inner horizon?"
{
} "no"

BOOLEAN ahf_manual_guess "Use specified coefficients for guess?"
{
} "no"

INT ahf_nn0 "Number of subdivisions of c0(0) for initial guess"
{
 : :: "Some positive integer"
} 10

INT ahf_nn2 "Number of subdivisions of c0(2) for initial guess"
{
 : :: "Some positive integer"
} 10

REAL  ahf_l0_guess "Manual guess for l=0 component"
{
 : ::
} 1.0

REAL  ahf_l2_guess "Manual guess for l=2 component"
{
 : ::
} 0.0

REAL  ahf_l4_guess "Manual guess for l=4 component"
{
 : ::
} 0.0

REAL  ahf_l6_guess "Manual guess for l=6 component"
{
 : ::
} 0.0

REAL  ahf_l8_guess "Manual guess for l=8 component"
{
 : ::
} 0.0

REAL  ahf_l10_guess "Manual guess for l=10 component"
{
 : ::
} 0.0

REAL  ahf_l12_guess "Manual guess for l=12 component"
{
 : ::
} 0.0

REAL  ahf_l14_guess "Manual guess for l=14 component"
{
 : ::
} 0.0

REAL  ahf_l16_guess "Manual guess for l=16 component"
{
 : ::
} 0.0

REAL  ahf_l18_guess "Manual guess for l=18 component"
{
 : ::
} 0.0

REAL ahf_r0 "Radius of initial sphere (0. forces largest sphere)"
{
 : ::
} 0.0

REAL ahf_r0_0 "Radius of first initial sphere for find3 (largest for 0.)"
{
 : ::
} 0.0

REAL ahf_r0_1 "Radius of second initial sphere for find3 (largest for 0.)"
{
 : ::
} 0.0

REAL ahf_r0_2 "Radius of third initial sphere for find3 (largest for 0.)"
{
 : ::
} 0.0

REAL ahf_xc "x-coordinate of center of expansion"
{
 : ::
} 0.0

REAL ahf_yc "y-coordinate of center of expansion"
{
 : ::
} 0.0

REAL ahf_zc "z-coordinate of center of expansion"
{
 : ::
} 0.0

REAL ahf_xc_0 "x-coordinate of center of expansion for first surface with find3"
{
 : ::
} 0.0

REAL ahf_yc_0 "y-coordinate of center of expansion for first surface with find3"
{
 : ::
} 0.0

REAL ahf_zc_0 "z-coordinate of center of expansion for first surface with find3"
{
 : ::
} 0.0

REAL ahf_xc_1 "x-coordinate of center of expansion for second surface with find3"
{
 : ::
} 0.0

REAL ahf_yc_1 "y-coordinate of center of expansion for second surface with find3"
{
 : ::
} 0.0

REAL ahf_zc_1 "z-coordinate of center of expansion for second surface with find3"
{
 : ::
} 0.0

REAL ahf_xc_2 "x-coordinate of center of expansion for third surface with find3"
{
 : ::
} 0.0

REAL ahf_yc_2 "y-coordinate of center of expansion for third surface with find3"
{
 : ::
} 0.0

REAL ahf_zc_2 "z-coordinate of center of expansion for third surface with find3"
{
 : ::
} 0.0

#Parameters for flow algorithm.

BOOLEAN ahf_flow "Use flow instead of minimization?"
{
} "no"

INT ahf_flowiter "Maximum number of iterations for flow"
{
 : ::
} 200

REAL ahf_flowa "alpha parameter for flow"
{
 : :: 
} 0.01

REAL ahf_flowb "beta parameter for flow"
{
 : ::
} 0.5

REAL ahf_flowh "Weight of H flow"
{
 : ::
} 0.0

REAL ahf_flowc "Weight of C flow"
{
 : ::
} 1.0

REAl ahf_flown "Weight of N flow"
{
 : ::
} 0.0

REAL ahf_flowtol "Tolerance for flow"
{
 : ::
} 0.0001

REAL ahf_maxchange "max rel diff between 1 big and 2 small steps"
{
 : ::
} 0.1

REAL ahf_minchange "min rel diff between 1 big and 2 small steps"
{
 : ::
} 0.01

#Parameters for output.

#IMPORTANT:  3D output for grid functions is still not implemented!

BOOLEAN ahf_logfile "Write log file?"
{
} "no"

BOOLEAN ahf_verbose "Print messages to screen?"
{
} "yes"

BOOLEAN ahf_veryverbose "Print messages at each iteration step to screen?"
{
} "no"

BOOLEAN ahf_guessverbose "Print info on initial guell points?"
{
} "no"

BOOLEAN ahf_2Doutput "2D output of grid functions?"
{
} "yes"

BOOLEAN ahf_3Doutput "3D output of grid functions? (Not yet implemented!)"
{
} "no"

BOOLEAN ahf_areamap "Find area map?"
{
} "no"

BOOLEAN ahf_gaussout "Output gaussian curvature of horizon?"
{
} "yes"


#Parameters for mask.

KEYWORD ahf_mask "Use mask for definite horizons?"
{
"off"    :: "Mask is off"
"strong" :: "Mask set only for definite horizons"
"weak"   :: "Mask set for both definite and probable horizons"
} "off"

BOOLEAN ahf_maskcube "Do we want a cubical mask?"
{
} "no"

REAL ahf_maskshrink "Shrink factor for mask"
{
0.0:1.0 :: "Must be positive and not larger than 1"
} 0.9


####################################
### PARAMETERS FROM OTHER THORNS ###
####################################

###  FROM IO  ###

shares: IO

EXTENDS STRING outdir "Name of IO output directory"
{
} "."

###  FROM GRID  ###

shares: grid

KEYWORD domain ""
{
}