sbird/GadgetReader — pull request #1 by BenWibking (2014-02-18 20:13:33+00:00)
Title: fixed unsigned npartTotal and npartHighWord

For more than 2^32 particles in a snapshot, npartTotal and NallHW need to be combined, assuming that both are unsigned ints (for proof, see io.c in the Gadget source). Otherwise the total number of particles is incorrect. I've tested this with a snapshot that has 2240^3 particles.