-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathquickstart.cfg
44 lines (35 loc) · 1.64 KB
/
quickstart.cfg
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
#Rockstar Halo Finder
#Quickstart config file for single-cpu, single snapshot halo finding
#Note that non-periodic boundary conditions are assumed.
#See README for details.
#Once compiled ("make"), run Rockstar as
# ./rockstar -c quickstart.cfg <particle data file>
FILE_FORMAT = "GADGET2" # or "ART" or "ASCII" or "TIPSY" or "AREPO"
PARTICLE_MASS = 0 # must specify (in Msun/h) for ART or ASCII
# You should specify cosmology parameters only for ASCII formats
# For GADGET2 and ART, these parameters will be replaced with values from the
# particle data file
SCALE_NOW = 1
h0 = 0.7
Ol = 0.73
Om = 0.27
# For GADGET2, you may need to specify conversion parameters.
# Rockstar's internal units are Mpc/h (lengths) and Msun/h (masses)
GADGET_LENGTH_CONVERSION = 1
GADGET_MASS_CONVERSION = 1e+10
# For AREPO / GADGET2 HDF5, you would use the following instead:
# Make sure to compile with "make with_hdf5"!
#AREPO_LENGTH_CONVERSION = 1
#AREPO_MASS_CONVERSION = 1e+10
# For TIPSY, you would use:
#TIPSY_LENGTH_CONVERSION = 10 #Typically, box size in Mpc/h
#TIPSY_VELOCITY_CONVERSION = 1e6 #Conversion from TIPSY units to km/s at z=0
#TIPSY_MASS_CONVERSION = 1e15 #Conversion from TIPSY units to Msun/h
FORCE_RES = 0.001 #Force resolution of simulation, in Mpc/h
# For ASCII files, the file format is assumed to be:
# X Y Z VX VY VZ Mass Energy ID Type
# Energy refers to thermay energy per unit mass, in units of (km/s)^2
# Type should be one of: 0 (DM), 1 (Gas), 2 (Stars), or 3 (Black Hole).
# ASCII files can also include a line of the form "#a = <scale>" to specify the
# scale factor. (This is helpful when making merger trees from ASCII particle
# files).