Fix grompp net charge check
commit8289afb35468662d4eb157cc505311260aba11aa
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:57:05 +0000 (14 09:57 +0100)
treefd61f61c47f6e165492b6fab0baf92c1885043b5
parentc0433c087e634af5c669c7a80b267689bfbd43fc
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