Fix bugs with intermol interactions and DD
authorBerk Hess <hess@kth.se>
Fri, 11 Sep 2015 15:26:23 +0000 (17:26 +0200)
committerDavid van der Spoel <davidvanderspoel@gmail.com>
Wed, 7 Oct 2015 12:43:57 +0000 (14:43 +0200)
commitdf199b1e2b7b1b7fe3a9fa3522b1a838268213c4
tree2f8c4f0c781ceb08819f184fa4983321ba8b1c55
parent5e7f510750a2c546d3489d845c1cc3a5e1630225
Fix bugs with intermol interactions and DD

Fixed two array access issues with the combination of intermolecular
interactions with domain decomposition when special bonded
communication was used. This could not lead to silent errors.
Added intermolecular interactions to the DD maximum distance check.
Disabled (fatal error) the above combination with charge groups.

Also fixed longest 2-body interaction distance print in case the
longest distance is in an exclusion.

Fixes #1820

Change-Id: Ic48d313edbc9779219832a185a903627f39b3102
src/gromacs/domdec/domdec_topology.cpp