Split expanded ensemble function
authorPascal Merz <pascal.merz@me.com>
Fri, 21 May 2021 21:33:37 +0000 (15:33 -0600)
committerPaul Bauer <paul.bauer.q@gmail.com>
Tue, 25 May 2021 11:58:30 +0000 (11:58 +0000)
commit8789fa0c8084e8530fc9c461f9316479d55f9a9c
tree3359e93b72184ff96b97fc85ae62ff1f513e6f16
parenta4c37232e2afb96b9c0ee1bb1375ab9c8cb958b2
Split expanded ensemble function

The expanded ensemble function was split into a part chosing a new
lambda state, and a second part updating the reference temperature
in the case of simulated tempering. To leave legacy paths unchanged,
the original function name has been maintained, which calls the two
parts. The function chosing a new lambda state is declared in the
header to allow modular simulator to call it separately.

This is pure refactoring (with the exception of moving a few variable
declarations to their initialization sites). Expanded ensemble is
covered by the new FEP tests.

This prepares introducing the expanded ensemble in modular simulator,
and is a first step towards #3848.

Refs #3417
src/gromacs/mdlib/expanded.cpp
src/gromacs/mdlib/expanded.h