Refactor temperature annealing
authorPascal Merz <pascal.merz@me.com>
Mon, 23 Nov 2020 03:30:00 +0000 (20:30 -0700)
committerAndrey Alekseenko <al42and@gmail.com>
Thu, 10 Jun 2021 14:14:49 +0000 (14:14 +0000)
commit3fbf6749766ad7e9143da87a84383f88b7a8bf17
tree8a1432430cad2cf2d24e1747772ade5955c271d3
parent944f71788d244a562df079a0fc7109600526baff
Refactor temperature annealing

This refactors temperature annealing by dividing it into two subfunctions,
one which returns a new temperature, keeping the inputrec constant and
being independent of the Update object, and one which updates the inputrec
and the Update object.

This separation allows most of the code to be reused by modular simulator,
and it is also a first step towards a design which does not need to modify
the input record (#3854)

Refs #3417, #3854
src/gromacs/mdlib/coupling.cpp
src/gromacs/mdlib/coupling.h