Fix grompp net charge check
commit93ac68d4a53df4f5289c8de89aa56b275afab18a
authorBerk Hess <hess@kth.se>
Tue, 13 Feb 2018 11:55:35 +0000 (13 12:55 +0100)
committerMark Abraham <mark.j.abraham@gmail.com>
Wed, 14 Feb 2018 08:58:35 +0000 (14 09:58 +0100)
tree3c1ce4790746db8cabc2260668f248a5469ea96c
parente76e61a4023e7351a3d9c6d5919cb930ff68d616
Fix grompp net charge check

The grompp check for the net charge would ignore molecule blocks
at the end when molecule types are used in multiple, non consecutive
molecule blocks.

Fixes #2407

Change-Id: I4e7c6c609da99025174f180f9d4037ac9f9fd7fc
src/gromacs/gmxpreprocess/topio.cpp