cholla-hydro / cholla

A GPU-based hydro code
https://github.com/cholla-hydro/cholla/wiki
MIT License
60 stars 32 forks source link

improved cluster creation #338

Closed ojwg closed 9 months ago

ojwg commented 9 months ago

avoid figuring out the SFR in the simulation volume. It does have a hardcoded MW SFR, which isn't ideal, but probably ok for now. Note that line 688 in particles_3D.cpp: R = 2 * R_d * radialDist(generator); means that the SF radial probability distribution tracks the gas scale length (assumed to be 2 * R_d). I'm not sure this is an improvement over using R_d.

Also sets CIE cooling as the default