Move the copy of the velocities for the output closer to the output
authorArtem Zhmurov <zhmurov@gmail.com>
Tue, 29 Oct 2019 20:18:08 +0000 (21:18 +0100)
committerMark Abraham <mark.j.abraham@gmail.com>
Wed, 20 Nov 2019 18:42:25 +0000 (19:42 +0100)
commit4d121e0ec47d07f01afefd99574162a3868d693c
treef510b5325210d0ea61944461d25be944eee21edd
parentddd5c0d07a145cd36bddcd6e1bff12b302f75c62
Move the copy of the velocities for the output closer to the output

The D2H copy of velocities is split into two calls, one of which is
moved closer to the output, where it is consumed. This is in preparation
to creation a unified method to copy all data for the outuput when
it is needed.

Change-Id: I4b81aa95e2c0763bb3ebb4a7d8b18611765c54de
src/gromacs/mdrun/md.cpp