N-BodyShop / changa

UIUC/PPL version of ChaNGa
http://hpcc.astro.washington.edu/tools/changa.html
GNU General Public License v2.0
42 stars 28 forks source link

Make JEANSSOFTONLY the default Jeans pressure floor #94

Closed trquinn closed 2 years ago

trquinn commented 3 years ago

By default (ie without a compile time ifdef) the Jeans pressure floor is based on the SPH kernel size, not the gravitational softening. The later makes more sense, at least for cosmology simulations. With the former, low density regions would have very large pressure floors. Changing this just means having "-DJEANSOFTONLY" set by default at compile time.

trquinn commented 2 years ago

Fixed by #106