Add haveEwaldSurfaceContribution to SimulationWorkload
authorBerk Hess <hess@kth.se>
Thu, 31 Oct 2019 19:20:01 +0000 (20:20 +0100)
committerPaul Bauer <paul.bauer.q@gmail.com>
Fri, 1 Nov 2019 12:38:27 +0000 (13:38 +0100)
commit7c6cf6db799d93220b76057657b76316ad86bbe5
treedb32aca4b91be564f50a65f39f19069feddba982
parent870c679e8938e516264c8f1a6bfaba0d57d386ca
Add haveEwaldSurfaceContribution to SimulationWorkload

When update is offloaded, the coordinates are needed on host if
an Ewald surface contribution is to be computed. This flag is set
to reflect that and used when the decision of whether the
coordinates are to be copied on this step is made.

Change-Id: Iba40387f065e6fae2551540136e925f7c764d6aa
src/gromacs/mdlib/force.cpp
src/gromacs/mdlib/sim_util.cpp
src/gromacs/mdrun/runner.cpp
src/gromacs/mdtypes/inputrec.cpp
src/gromacs/mdtypes/inputrec.h
src/gromacs/mdtypes/simulation_workload.h
src/gromacs/taskassignment/decidesimulationworkload.cpp
src/gromacs/taskassignment/decidesimulationworkload.h