puncproject / PUNCpp

Particles-in-UNstructured-Cells, C++ version
https://punc.readthedocs.io
GNU General Public License v3.0
12 stars 6 forks source link

Binary population.dat #9

Closed sigvaldm closed 6 years ago

sigvaldm commented 6 years ago

Combine with better system for storing state.dat and population.dat.

sigvaldm commented 6 years ago

Binary population.dat is 38.5% the size of ASCII version. Not yet committed. Compression would be the next step in reducing the size, but not sure it's worth the effort. Note also that binary files are more brittle since they depend on datatype sizes, struct padding and endianness of the machine. Because of this I have left the option to use ASCII files.

sigvaldm commented 6 years ago

Merged.