Change use of t_inpfile to std::vector
commit78b37bef36ee22867f84ed654892d6a901e31e74
authorPaul Bauer <paul.bauer.q@gmail.com>
Fri, 25 May 2018 16:44:43 +0000 (25 18:44 +0200)
committerErik Lindahl <erik.lindahl@gmail.com>
Thu, 7 Jun 2018 13:18:30 +0000 (7 15:18 +0200)
treec448a4d5280d4a19b693c8dd56d5abecc323e476
parentbba3581f8b4df7feea76fb4fe523e69803f86b36
Change use of t_inpfile to std::vector

Refactored code to use std::vector for t_inpfile instead of pointers.
This is meant to be the basis for a change in mdp file writing from gmx
dump that requires the t_inpfile structure to use the already available
functions to write the file instead of having a custom one.

Rebased on change that changes the use of macros to functions for
reading the information into the structure.

Changed t_inpfile to a struct with constructor and destructor, as well as
replacing the custom sort function with std::sort.

Change-Id: I0c5c646b183d232c638db869f98457af82e0be18
src/gromacs/awh/read-params.cpp
src/gromacs/awh/read-params.h
src/gromacs/fileio/readinp.cpp
src/gromacs/fileio/readinp.h
src/gromacs/fileio/tests/readinp.cpp
src/gromacs/gmxana/gmx_xpm2ps.cpp
src/gromacs/gmxpreprocess/readir.cpp
src/gromacs/gmxpreprocess/readir.h
src/gromacs/gmxpreprocess/readpull.cpp
src/gromacs/gmxpreprocess/readrot.cpp
src/gromacs/mdlib/membed.cpp