danieljprice / phantom

Phantom Smoothed Particle Hydrodynamics and Magnetohydrodynamics code
https://phantomsph.github.io
Other
103 stars 230 forks source link

(dust_nucleation) fix calculation of gamma #533

Closed lsiess closed 5 months ago

lsiess commented 5 months ago

Type of PR: Bug fix

Description: when using ieos=2 with nucleation, a discontinuity was present in the profile of gamma (polytropic index) due to an error in its formulation.

Testing: the new wind profiles do not show the discontinuity in gamma anymore

Did you run the bots? no

Did you update relevant documentation in the docs directory? no