Split tpr header reading reading from tpr body
authorPaul Bauer <paul.bauer.q@gmail.com>
Tue, 11 Jun 2019 09:20:28 +0000 (11:20 +0200)
committerMark Abraham <mark.j.abraham@gmail.com>
Wed, 19 Jun 2019 18:07:10 +0000 (20:07 +0200)
commit21d45dd2b30a6f565dac6403c788716ca84aa1b9
tree072995a60c02dbdb16d9c81022ebfa1a731f1332
parent4dd7cb1c9d34953f523316778db0156ae9b3df54
Split tpr header reading reading from tpr body

Split the low level functions for TPR file header and file body reading
into fully separate parts to allow reading the main part of the file
without having to read the header again.

Also gave the header datastructure a new name in line with naming
conventions and default initialized all fields.

Refs #2971

Change-Id: I110fb80cf19d9d2e59df1576e50c64806f532e00
src/gromacs/fileio/confio.cpp
src/gromacs/fileio/tpxio.cpp
src/gromacs/fileio/tpxio.h
src/gromacs/gmxana/gmx_clustsize.cpp
src/gromacs/gmxana/gmx_nmeig.cpp
src/gromacs/tools/dump.cpp
src/programs/view/manager.cpp