95 lines
3.6 KiB
Text
95 lines
3.6 KiB
Text
######################
|
|
# GENERAL PARAMETERS #
|
|
######################
|
|
|
|
# Plummer softening parameter (can be even 0)
|
|
eps = 1E-4
|
|
|
|
# End time of the calculation
|
|
t_end = 0.25
|
|
|
|
# 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 = false
|
|
#############################################
|
|
|
|
###################################
|
|
# 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
|
|
|
|
# A mask array (zeros and ones) determining whether or not to use specific post-Newtonian terms.
|
|
# The elements represent {0, 1, 2, 2.5, 3, 3.5, spin}
|
|
pn_usage = {1, 1, 1, 1, 0, 0, 0}
|
|
|
|
# The speed of light in N-body units [default: 500]
|
|
pn_c = 477.12
|
|
|
|
####################################
|
|
# 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 #
|
|
####################################
|