danieljprice / phantom

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

(set_star/mesa) read any tabulated stellar profile using iprofile=5 in set_star #442

Closed danieljprice closed 1 year ago

danieljprice commented 1 year ago

Type of PR: Bug fix

Description: Generalised the MESA star reader to ingest stellar profiles supplied by Ross Church from the Eggleton stellar evolution code. Changes merely make the MESA reader a bit more general without breaking existing functionality:

Testing: successfully sets up tabulated star provided by Ross

Did you run the bots? no

Did you update relevant documentation in the docs directory? no