Pull group count for coords stored in tpr
commit69d63c23d8961e029b312d6ac8a7fbebff375a51
authorBerk Hess <hess@kth.se>
Fri, 17 Apr 2015 18:10:08 +0000 (17 20:10 +0200)
committerBerk Hess <hess@kth.se>
Tue, 1 Dec 2015 12:13:03 +0000 (1 13:13 +0100)
tree73a58c30ba57f494a08cd522e5652429d77573ff
parent588b0d35c321f7b8abd923dc0d892ba6b27ccd91
Pull group count for coords stored in tpr

Added a parameter ngroup to the pull coord parameters. This is now
also stored in the tpr file. This simplifies code in several places,
since we now only need to determine ngroup is one place. This change
also makes the pull geometry forward compatible, which is useful
since it avoid bumping tpx_version with every new geometry and
we expect that users want to experiment with new geometries.

Change-Id: I7fc0032e439a5ac329f3260d5a6c775295a61bfc
src/gromacs/fileio/tpxio.cpp
src/gromacs/fileio/txtdump.cpp
src/gromacs/gmxpreprocess/readpull.cpp
src/gromacs/mdtypes/inputrec.h
src/gromacs/pulling/pull.cpp