Improved the new-style config file and its reader
This commit is contained in:
parent
90f070d1fb
commit
cd282cc406
3 changed files with 119 additions and 21 deletions
89
phigrape.conf
Normal file
89
phigrape.conf
Normal file
|
|
@ -0,0 +1,89 @@
|
|||
######################
|
||||
# GENERAL PARAMETERS #
|
||||
######################
|
||||
|
||||
|
||||
# Plummer softening parameter (can be even 0)
|
||||
eps = 1E-4
|
||||
|
||||
# End time of the calculation
|
||||
t_end = 4.0
|
||||
|
||||
# Interval of snapshot files output (xxxxxx.dat)
|
||||
dt_disk = 1.0
|
||||
|
||||
# Interval for the energy control output (contr.dat)
|
||||
dt_contr = 0.125
|
||||
|
||||
# Interval for SMBH output (bh.dat, bh_neighbors.dat, and bh_inf.dat)
|
||||
dt_bh = 0.125
|
||||
|
||||
# Parameter for timestep determination
|
||||
eta = 0.01
|
||||
|
||||
# Name of the input file; use "data.con" in most cases
|
||||
inp_data = data.con
|
||||
|
||||
|
||||
##### NOT IMPLEMENTED #######################
|
||||
output_format = HDF5
|
||||
dt_min_warning = true
|
||||
#############################################
|
||||
|
||||
###################################
|
||||
# LIVE SUPERMASSIVE BLACK HOLE(S) #
|
||||
###################################
|
||||
|
||||
# There is special treatment for particles representing supermassive black holes (SMBHs): they are integrated at every time step, they can have custom softening in SMBH-SMBH interactions, and post Newtonian terms can be added to the gravity.
|
||||
|
||||
# The number of SMBH particles. Can be 0 (no SMBH), 1, or 2. [default: 0]
|
||||
live_smbh_count = 2
|
||||
|
||||
# Custom softening length for SMBH-SMBH interactions (can also be zero). If non-negative, the custom softening is applied. [default: -1]
|
||||
live_smbh_custom_eps = 0
|
||||
|
||||
# Output additional diagnostics about live SMBHs. [default: false]
|
||||
#TODO# dt_bh
|
||||
live_smbh_output = true
|
||||
|
||||
# Output additional diagnostics about the SMBH's (or SMBHs') nearest neighbours (number could be set as shown below). [default: false]
|
||||
live_smbh_neighbor_output = true
|
||||
|
||||
# Number of nearest neighbours to the SMBH (or SMBHs) to include in output. [default: 10]
|
||||
live_smbh_neighbor_number = 10
|
||||
|
||||
##################################
|
||||
# BINARY SUPERMASSIVE BLACK HOLE #
|
||||
##################################
|
||||
|
||||
# The following parameters can be set when `live_smbh_count` is 2.
|
||||
|
||||
# Output additional diagnostics about the SMBH's sphere of influence (size could be set as shown below). [default: false]
|
||||
binary_smbh_influence_sphere_output = true
|
||||
|
||||
# The influence sphere is centred at the binary SMBH's centre of mass, and its radius is the semi-major axis of the binary times the factor below. [default: 10.0]
|
||||
binary_smbh_influence_radius_factor = 3.162277660168379497918067e+03
|
||||
|
||||
# Add post Newtonian terms to SMBH-SMBH gravity. [default: false]
|
||||
binary_smbh_pn = true
|
||||
|
||||
####################################
|
||||
# Negative powers of two #
|
||||
####################################
|
||||
# -1 1/2 0.5 #
|
||||
# -2 1/4 0.25 #
|
||||
# -3 1/8 0.125 #
|
||||
# -4 1/16 0.0625 #
|
||||
# -5 1/32 0.03125 #
|
||||
# -6 1/64 0.015625 #
|
||||
# -7 1/128 0.0078125 #
|
||||
# -8 1/256 0.00390625 #
|
||||
# -9 1/512 0.001953125 #
|
||||
# -10 1/1024 0.0009765625 #
|
||||
# -11 1/2048 0.00048828125 #
|
||||
# -12 1/4096 0.000244140625 #
|
||||
# -13 1/8192 0.0001220703125 #
|
||||
# -14 1/16384 0.00006103515625 #
|
||||
# -15 1/32768 0.000030517578125 #
|
||||
# -16 1/65536 0.0000152587890625 #
|
||||
####################################
|
||||
Loading…
Add table
Add a link
Reference in a new issue