Refactor SD update
commit5ae5bf42159cf0f3e00cb2a26ad64a93843fc27a
authorMark Abraham <mark.j.abraham@gmail.com>
Fri, 13 Apr 2018 11:39:31 +0000 (13 12:39 +0100)
committerMark Abraham <mark.j.abraham@gmail.com>
Wed, 25 Apr 2018 12:12:13 +0000 (25 14:12 +0200)
treed13b9fe705ed5214a7476e4c830ca0c6529d34dd
parent512b36f72fde65aa750a87c9d04df813d5d7159d
Refactor SD update

The former use of multiple boolean control variables made the logic
hard to follow. Without constraints, the two parts of the integrator
are fused, which is now expressed explicitly.

This means it is now clear that the second half of the sd update does
not compute anything from the foreces.

Removed some of the vestiges of the way we once had two SD
integrators.

Refs #2423, #1793

Change-Id: I39d4cd0b8568859220b3a592b138f3f4405f8991
src/gromacs/mdlib/update.cpp
src/gromacs/mdlib/update.h
src/gromacs/mdrun/md.cpp