Minor tweaks to sum_dhdl and setCurrentLambdasLocal
commitb4b3d7d9dfb4bc72e019fc3ba6b5bc755e0b0f5d
authorPascal Merz <pascal.merz@me.com>
Tue, 17 Sep 2019 02:32:57 +0000 (16 20:32 -0600)
committerPascal Merz <pascal.merz@me.com>
Tue, 17 Sep 2019 21:44:04 +0000 (17 15:44 -0600)
tree43fda6fddce0432e23f3976b2da91b5ca894b190
parent003f96f6fb30315252094f57a23a3d33a4f48864
Minor tweaks to sum_dhdl and setCurrentLambdasLocal

setCurrentLambdasLocal() is taking the entire t_state as input,
but only uses the lambda vector and the free energy state. The
function arguments were changed to reflect that. This facilitates
rewriting the state data structure.

This change also adds a trivial const qualifier to sum_dhdl.

Change-Id: I50cb2b77711c13c1d77f6d55cfd32a324f94f76e
src/gromacs/mdlib/enerdata_utils.cpp
src/gromacs/mdlib/enerdata_utils.h
src/gromacs/mdlib/md_support.cpp
src/gromacs/mdlib/md_support.h
src/gromacs/mdrun/md.cpp
src/gromacs/mdrun/mimic.cpp
src/gromacs/mdrun/minimize.cpp
src/gromacs/mdrun/rerun.cpp