danieljprice / phantom

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

gammie cooling assumes M=1 #550

Open danieljprice opened 4 months ago

danieljprice commented 4 months ago

when using the beta-cooling prescription from Gamma (2001), currently the mass used to compute the Omega in the cooling routine is hard-wired to 1

This is ok but to avoid mistakes the user should at least be warned if the central object mass is not set to unity...