-
Notifications
You must be signed in to change notification settings - Fork 15
Description
Is your feature request related to a problem? Please describe.
I'm trying to use Sire for Hamiltonian Replica Exchange to decouple a solute from the solvent using a QM(ML)/MM electrostatic embedding scheme. I can successfully pass a callback function to Sire (via sr.qm.create_engine) to perform standard molecular dynamics with ML/MM potentials. However, when performing the solute-solvent decoupling (e.g. using decharge), the ML/MM engine must be aware of the current alchemical state, as the
- The ML/MM electrostatic interaction energy;
- The polarization of the ML region induced by the MM solvent.
Describe the solution you'd like
Is there a way to pass this parameter to the callback function that does the ML/MM prediction during the simulation?
Describe alternatives you've considered
Passing lambda as a fixed parameter to the callback function when setting up the different replicas is insufficient, as it does not account for the changes in alchemical state that occur during replica exchange.