Index groups for MdModules from grompp
authorChristian Blau <cblau@gwdg.de>
Fri, 23 Aug 2019 13:56:22 +0000 (15:56 +0200)
committerChristian Blau <cblau@gwdg.de>
Sun, 25 Aug 2019 17:13:20 +0000 (19:13 +0200)
commitc3d15cd83aca2488e89473a9277d297ebda9b4d5
tree2c201e89611076f333334c95df392c3506729845
parent5d393755148f312fcb1ab8f640078ad6b34944e0
Index groups for MdModules from grompp

Make index groups available for mdrun modules during preprocessing.
Notify mdrun modules with a DefaultIndexGroupsAndNames class that
translates index group names into atom indices.

refs #2282

Change-Id: Idc1bc3a5840e7b7ec3c82904416887b02417c92c
src/gromacs/gmxpreprocess/grompp.cpp
src/gromacs/gmxpreprocess/readir.cpp
src/gromacs/gmxpreprocess/readir.h
src/gromacs/mdrun/mdmodules.h
src/gromacs/selection/indexutil.cpp
src/gromacs/selection/indexutil.h
src/gromacs/selection/tests/indexutil.cpp