Added logarithmic external potential

This commit is contained in:
Yohai Meiron 2020-03-25 21:42:29 -04:00
parent 8cba5b5e1d
commit 131642aa71
5 changed files with 51 additions and 84 deletions

View file

@ -34,19 +34,23 @@ dt_min_warning = false
####################
ext_units_physical = true
norm_mass = 1e5
norm_length = 10
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!
ext_m_bulge = 0
ext_b_bulge = 0
ext_m_disk = 1e9
ext_a_disk = 0.8
ext_b_disk = 0.2
ext_m_disk = 0
ext_a_disk = 0
ext_b_disk = 0
ext_m_halo_plummer = 0
ext_b_halo_plummer = 0
ext_log_halo_v = 30
# here the length scale for the logarithmic halo is in kpc, not pc like in the old phigrape.
ext_log_halo_r = 0.04
####################################