Use gmx_mtop_t in selections, part 2
authorTeemu Murtola <teemu.murtola@gmail.com>
Tue, 21 Jun 2016 18:42:59 +0000 (21:42 +0300)
committerMark Abraham <mark.j.abraham@gmail.com>
Fri, 14 Oct 2016 12:31:48 +0000 (14:31 +0200)
commitc76765d3ae54125581db3a8745df0dc65b252da3
treef4e417c00c7686429766cf007263294089538119
parentb2b1088c3726cea7a5e696e11c81dfab8f82fe8d
Use gmx_mtop_t in selections, part 2

Use gmx_mtop_t throughout low-level selection routines, i.e.,
centerofmass.cpp, poscalc.cpp, and indexutil.cpp.  Adapt test code,
which is now using gmx_mtop_t throughout as well.

In places where gmx_mtop_t is actually accessed, the changes are as
local as possible.  In most cases, some additional restructuring could
give better performance and/or much clearer code, but that is outside
the scope of this change.

Part of #1862.

Change-Id: Icc99432bddec04a325aef733df56571d709130fb