cholla-hydro / cholla

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

Add scalar floor and refactor temperature and density floors #363

Closed helenarichie closed 5 months ago

helenarichie commented 5 months ago

In summary, this PR:

helenarichie commented 5 months ago

New parameter defaults should be set in global.h, and the code should give a warning if any floor is turned on but the input parameter isn't set.

Addressed in 3e1c195