Remove isTemperatureCouplingStep(...)
authorArtem Zhmurov <zhmurov@gmail.com>
Mon, 1 Apr 2019 09:24:23 +0000 (11:24 +0200)
committerArtem Zhmurov <zhmurov@gmail.com>
Thu, 4 Apr 2019 12:38:05 +0000 (14:38 +0200)
commit65b9657c15b95a76c9edbf0c4eccf3e87c9aa27b
treeb3befb90cad4078193c8b41da961731d2a086010
parentce17e81d93d7416c0e2da3c941768fdd17fcfc8a
Remove isTemperatureCouplingStep(...)

This subroutine hides the checks on whether the temperature
coupling should be updated, making it harder to read the
sequence of events in the main loop. Also, the subroutine is
used only twice and both times some of the conditionals are
double checked (e.g. is Velocity-Verlet integrator is in use).

Change-Id: Idb4196c2f81095c09426b2798e79d2beea4f306e
src/gromacs/mdlib/update.cpp