Completed HDF5 support

This commit is contained in:
Yohai Meiron 2020-03-31 19:04:18 -04:00
parent b2943be7c1
commit 5cb4282be4
8 changed files with 258 additions and 185 deletions

View file

@ -21,11 +21,11 @@ dt_bh = 0.125
eta = 0.01
# Name of the input file; use "data.con" in most cases
inp_data = data.con
input_file_name = data.con
output_hdf5 = true
##### NOT IMPLEMENTED #######################
output_format = HDF5
dt_min_warning = false
#############################################
@ -33,9 +33,9 @@ dt_min_warning = false
# EXTERNAL GRAVITY #
####################
ext_units_physical = true
unit_mass = 1e5
unit_length = 10
ext_units_physical = false
#unit_mass = 1e5
#unit_length = 10
# TODO add the option to normalize using other units
# Notice that if physical units are used, the "a" and "b" parameters are in kiloparsec, not parsec!
@ -47,9 +47,9 @@ ext_a_disk = 0
ext_b_disk = 0
ext_m_halo_plummer = 0
ext_b_halo_plummer = 0
ext_log_halo_v = 30
ext_log_halo_v = 0
# here the length scale for the logarithmic halo is in kpc, not pc like in the old phigrape.
ext_log_halo_r = 0.04
ext_log_halo_r = 0