Hi Devs,
I’m trying to create an access to the ensemble temperature (introduced in #3089) in the MDModules framework. This will be needed for various usages (colvars, lambda dynamics, AWH).
From what I understand, I can do it in 2 ways:
-
through a new
setupNotifier
like theSimulationTimeStep
or thePbcType
. In this case, a MDModule will retrieve the value at the beginning at the simulation. But in cases where the temperature changes during simulation (simulated annealing or simulated tempering), the MDModule will not have the current temperature of the system. -
through a new parameter in the
ForceProviderInput
. This solve the previous point about Simulated annealing but in most cases, this ensemble temperature will be a constant and we will keep creating at each step aForceProviderInput
with a constant value.
I’m not sure what is the best option here.
Do you have any suggestions?
Thanks,
Hubert