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

Change more GravityParticle attributes to cosmoType, #157

Closed trquinn closed 8 months ago

trquinn commented 9 months ago

and rearrange for better alignment.

This reduces GravityParticle from 144 to 104 bytes when --enable-float is set.

bwkeller commented 8 months ago

This makes sense to me, I tried something similar this summer and it did somewhat reduce the memory usage.