Wrong locality was used when ignoring the PME force contribution
authorArtem Zhmurov <zhmurov@gmail.com>
Fri, 11 Oct 2019 11:48:35 +0000 (13:48 +0200)
committerArtem Zhmurov <zhmurov@gmail.com>
Fri, 11 Oct 2019 11:51:39 +0000 (13:51 +0200)
commit4761b51f17aad9291afc9c22eba70fba212a6fcc
treefe94318a6e0af78a9db9d1edbbe97f6bab05ea53
parentcef36d09e64b3f5e3a0248722d8da8d7f1cc584d
Wrong locality was used when ignoring the PME force contribution

The PME forces have no no-local contribution, hence they should be
ignored when non-local forces are reduced. This fixes the bug with
local PME forces ignored instead of non-local. The bug was
introduced in 9409fa5f.

Change-Id: Ie27c71d1f51ca4022f196a9fa114af42685fcbcf
src/gromacs/mdlib/sim_util.cpp