Fix the removal of COM velocity in case of GPU update
authorArtem Zhmurov <zhmurov@gmail.com>
Mon, 27 Apr 2020 19:21:58 +0000 (19:21 +0000)
committerMark Abraham <mark.j.abraham@gmail.com>
Mon, 27 Apr 2020 19:21:58 +0000 (19:21 +0000)
commit7b9c6af3b46b36007d10d8f12b1280fdef603de3
tree1327387d597e6e3ccbc3b1aa0f6779bca52be82f
parentf3c08f9310a2416e83e686c24170f329cdc7929f
Fix the removal of COM velocity in case of GPU update

After the velocities are changed on the CPU to remove the COM motion,
they have to be copied back to the GPU memory.

Fixes #3508
docs/release-notes/2020/2020.2.rst
src/gromacs/mdrun/md.cpp