-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathsettings.ini
85 lines (60 loc) · 2.92 KB
/
settings.ini
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
# info related to IC generation
IC generator = basic
template file = sc1_crystal.dat # file (Gadget-2 format) containing homogeneous particle template
tiling factor = 16 # number of times the template shall be repeated in each direction
# total number of particles will be N_template * (tiling factor)^3
Tk file = class_tk.dat # file containing tabulated transfer functions (densities and velocities)
# at initial redshift (ASCII file in CLASS format assumed)
baryon treatment = blend # possible choices are "ignore", "sample", "blend" (default) and "hybrid"
seed = 42 # initial seed for random number generator
correct displacement = yes # if "yes" the IC generator will try to fold the template pattern
# into the convolution kernel of the displacement field
k-domain = sphere # possible choices are "sphere" or "cube"
# primordial power spectrum
k_pivot = 0.05 # in units of inverse Mpc (not h/Mpc!)
A_s = 2.215e-9
n_s = 0.9619
# cosmological parameters
h = 0.67556
omega_b = 0.022032
omega_cdm = 0.12038
T_cmb = 2.7255 # in units of K
N_ur = 3.046
# simulation settings
initial redshift = 100.0
boxsize = 320.0 # in units of Mpc/h
Ngrid = 64
Courant factor = 48.0 # gravity solver time stepping
time step limit = 0.04 # in units of Hubble time
gravity theory = GR # possible choices are "GR" or "Newton"
vector method = parabolic # possible choices are "parabolic" or "elliptic"
# output
output path = output/
generic file base = lcdm
snapshot file base = lcdm_snap
snapshot redshifts = 30, 10, 3, 0
snapshot outputs = phi, B, Gadget2
Pk file base = lcdm_pk
Pk redshifts = 50, 30, 10, 3, 1, 0
Pk outputs = phi, B, chi, hij
Pk bins = 1024
lightcone file base = lcdm_lightcone
lightcone outputs = Gadget2, phi
lightcone 0 vertex = 0, 0, 0 # in units of Mpc/h
lightcone 0 direction = 1, 1, 1
lightcone 0 distance = 100 # in units of Mpc/h
lightcone 1 vertex = 0, 0, 0 # in units of Mpc/h
lightcone 1 direction = 1, 1, 1
lightcone 1 distance = 100, 450 # in units of Mpc/h
lightcone 1 opening half-angle = 30 # degrees
# additional parameters for CLASS in order to generate the initial transfer
# functions (Tk file) with this settings file
output = mPk, dTk, vTk
gauge = Newtonian
P_k_ini type = analytic_Pk
P_k_max_h/Mpc = 192 # has to be large enough (otherwise IC generator may crash)
z_pk = 100 # should be equal to initial reshift
root = class_
background_verbose = 1
spectra_verbose = 1
output_verbose = 1