Shift per-step control logic to do_md
commite9a53455cd161589367c05481f81d3344fb6be06
authorMark Abraham <mark.j.abraham@gmail.com>
Fri, 13 Apr 2018 11:34:36 +0000 (13 12:34 +0100)
committerMark Abraham <mark.j.abraham@gmail.com>
Tue, 17 Apr 2018 08:03:51 +0000 (17 10:03 +0200)
treeb20dd16a770bce0fd41f6ec0b605a2e98a83f741
parentacc3940a76a72786347e37d0b3989c6aad823f17
Shift per-step control logic to do_md

There are multiple reasons why do_md can decide this is the last step,
so we should be consistent about it.

Refs #1793

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