Add coordIndex to t_pull_coord
authorBerk Hess <hess@kth.se>
Tue, 30 Mar 2021 10:15:43 +0000 (10:15 +0000)
committerPaul Bauer <paul.bauer.q@gmail.com>
Tue, 30 Mar 2021 10:15:43 +0000 (10:15 +0000)
commit98db7166723580c87e8bf1df1af20ea552e7dc18
tree00503faa745d6720a79d68a91c2d370e5bf246b5
parentf1c0599ca0a471930ad680dafdcf846104c0b63e
Add coordIndex to t_pull_coord

The pull coordinate index is an integral part of a pull coordinate
and can not be changed. Thus it can be part of t_pull_coord which
allows avoiding index passing in several functions.
src/gromacs/fileio/tpxio.cpp
src/gromacs/gmxpreprocess/readpull.cpp
src/gromacs/mdtypes/pull_params.h
src/gromacs/pulling/pull.cpp
src/gromacs/pulling/tests/pull.cpp