-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathparam.lua
49 lines (35 loc) · 1.49 KB
/
param.lua
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
-- cola code parameter file
nc = 64
boxsize = 100.0
random_seed= 100
nrealization= 1 -- multiple realisations for random_seed, random_seed+1, ...
ntimestep= 10
a_final= 1.0
output_redshifts= {0.73, 0.6, 0.44, 0.0} -- redshifts of output
omega_m = 0.273
h = 0.705
sigma8 = 0.812
pm_nc_factor= 3 -- Particle Mesh grid pm_nc_factor*nc per dimension
np_alloc_factor= 1.25 -- Amount of memory allocated for particle
loglevel=2 -- 0=debug, 1=verbose, 2=normal, ...
-- increase the value to reduce output msgs
powerspectrum= "data/linear_matterpower.dat" -- Initial power spectrum: k P(k)
-- Options
-- Following outputs can be turned off by commenting out
-- fof, snapshot, subsample, coarse_grid
-- FoF halo catalogue
fof= "fof" -- base filename
linking_factor= 0.2 -- FoF linking length= linking_factor*mean_separation
-- Dark matter particle outputs (all particles)
snapshot= "snp" -- comment out to suppress snapshot output
-- Dark matter particle subsample
-- subsample= "sub" -- base filename
subsample_factor= 0.01 -- fraction of particles to output
-- Dark matter density grid
-- coarse_grid= "grid" -- base filename
coarse_grid_nc= 16 -- number of grid per dimension
-- Output 2LPT initial condition at a_final/ntimestep
-- ntimestep=1 will only generate 2LPT field with no COLA steps.
-- initial= "init"
-- Use 8-byte long id for GADGET snapshot
write_longid= false -- true or false