Fix refactoring issue
authorMark Abraham <mark.j.abraham@gmail.com>
Wed, 3 Feb 2021 07:56:08 +0000 (08:56 +0100)
committerPaul Bauer <paul.bauer.q@gmail.com>
Thu, 4 Feb 2021 11:46:02 +0000 (11:46 +0000)
commitbcb9159867bdd6fc0af9384c5fa224b01c4fbab0
treeb3576b2140a60a0f34bbcae598ce4add9bc9e85c
parent001c0ef68ef89cce139520e474bb3fff4afae164
Fix refactoring issue

The former code had short-circuit logic that is now restored. That
could only be a problem if multiple patches for the same atom had the
same name, which sounds unlikely. So probably the problem was benign.

Added doxygen and suggested future clean-up.

Refs #2833
src/gromacs/gmxpreprocess/genhydro.cpp