Prepare simulated annealing refactoring
authorPascal Merz <pascal.merz@me.com>
Tue, 8 Jun 2021 16:59:02 +0000 (10:59 -0600)
committerMark Abraham <mark.j.abraham@gmail.com>
Wed, 9 Jun 2021 06:26:38 +0000 (06:26 +0000)
commit05be343cec30edbfbc1dbd6e9f5534828e88c87f
tree1e0110ecf85165f5610255aa336df3653641d24f
parentd41e6125cfd17dcf323f6777a065ff5ddb5677df
Prepare simulated annealing refactoring

Prepare simulated annealing refactoring by moving variable declarations
to where they are first used, rename a non-descriptive integer `i`, use
a const reference to the inputrec where possible, replace a gmx_fatal
by an assert, and replace a switch / case construct by an if / else.

This is pure refactoring, no change in functionality, but will make
follow-up changes significantly easier to review.
src/gromacs/mdlib/coupling.cpp