aboutsummaryrefslogtreecommitdiff
path: root/test/Kerr-carpet.par
blob: de477548ffcce71945e0c0798b4bb0cc636bb075 (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
# This parameter file sets up Kerr/Kerr-Schild initial data, then
# finds the apparent horizon in it.  The local coordinate system origin
# and the initial guess are both deliberately de-centered with respect
# to the black hole, to make this a non-trivial test for the apparent
# horizon finder.

# flesh
cactus::cctk_itlast = 0

########################################

#
# ***** output setup (also see below for more output stuff) *****
#
ActiveThorns = "IOUtil IOBasic"
IOUtil::parfile_write = "no"
IO::out_dir = $parfile

########################################

#
# basic grid setup
#

ActiveThorns = "Carpet CarpetLib CarpetInterp CarpetReduce"
Carpet::domain_from_coordbase    = true

ActiveThorns = "SymBase Boundary"
ActiveThorns = "CoordBase"
CoordBase::domainsize = "spacing"
CoordBase::zero_origin_x = true
CoordBase::zero_origin_y = true
CoordBase::zero_origin_z = true
CoordBase::dx   = 0.04
CoordBase::dy   = 0.04
CoordBase::dz   = 0.04
CoordBase::ncells_x = 80
CoordBase::ncells_y = 80
CoordBase::ncells_z = 80

#
# ghost zones
#

driver::ghost_size_x = 2
driver::ghost_size_y = 2
driver::ghost_size_z = 2

# ghost zones are outside the nominal grid
CoordBase::boundary_internal_x_lower = false
CoordBase::boundary_internal_x_upper = false
CoordBase::boundary_internal_y_lower = false
CoordBase::boundary_internal_y_upper = false
CoordBase::boundary_internal_z_lower = false
CoordBase::boundary_internal_z_upper = false

# ghost zone widths
CoordBase::boundary_size_x_lower     = 2
CoordBase::boundary_size_x_upper     = 2
CoordBase::boundary_size_y_lower     = 2
CoordBase::boundary_size_y_upper     = 2
CoordBase::boundary_size_z_lower     = 2
CoordBase::boundary_size_z_upper     = 2

# ghost zones start 0.5 point outside nominal grid boundary
CoordBase::boundary_shiftout_x_lower = 0
CoordBase::boundary_shiftout_x_upper = 0
CoordBase::boundary_shiftout_y_lower = 0
CoordBase::boundary_shiftout_y_upper = 0
CoordBase::boundary_shiftout_z_lower = 0
CoordBase::boundary_shiftout_z_upper = 0

# staggered grids everywhere
CoordBase::boundary_staggered_x_lower = true
CoordBase::boundary_staggered_x_upper = true
CoordBase::boundary_staggered_y_lower = true
CoordBase::boundary_staggered_y_upper = true
CoordBase::boundary_staggered_z_lower = true
CoordBase::boundary_staggered_z_upper = true

# octant symmetry
ActiveThorns = "ReflectionSymmetry"
ReflectionSymmetry::avoid_origin_x = true
ReflectionSymmetry::avoid_origin_y = true
ReflectionSymmetry::avoid_origin_z = true
ReflectionSymmetry::reflection_x = true
ReflectionSymmetry::reflection_y = true
ReflectionSymmetry::reflection_z = true

ActiveThorns = "CartGrid3D"
CartGrid3D::type = "CoordBase"

########################################

#
# Kerr initial data
#
ActiveThorns = "ADMBase ADMCoupling StaticConformal CoordGauge SpaceMask Exact"
ADMBase::initial_lapse = "exact"
ADMBase::initial_shift = "exact"
ADMBase::initial_data = "exact"
ADMBase::lapse_evolution_method = "static"
ADMBase::shift_evolution_method = "static"
ADMBase::metric_type = "physical"
Exact::exact_model = "Kerr/Kerr-Schild"
Exact::Kerr_KerrSchild__mass = 1.0
Exact::Kerr_KerrSchild__spin = 0.6

########################################

ActiveThorns = "SphericalSurface"
ActiveThorns = "AEILocalInterp AHFinderDirect"

AHFinderDirect::print_timing_stats = "true"

AHFinderDirect::output_Theta_every = 1
AHFinderDirect::h_base_file_name     = "Kerr.h"
AHFinderDirect::Theta_base_file_name = "Kerr.Theta"

AHFinderDirect::N_horizons = 1
AHFinderDirect::patch_system_type[1] = "+z hemisphere"
AHFinderDirect::origin_x[1] = 0.5
AHFinderDirect::origin_y[1] = 0.7
AHFinderDirect::origin_z[1] = 0.0

AHFinderDirect::initial_guess_method[1] = "coordinate sphere"
AHFinderDirect::initial_guess__coord_sphere__x_center[1] = -0.2
AHFinderDirect::initial_guess__coord_sphere__y_center[1] =  0.3
AHFinderDirect::initial_guess__coord_sphere__z_center[1] =  0.0
AHFinderDirect::initial_guess__coord_sphere__radius[1] = 2.0