protons
protons copied to clipboard
Change the way we deal with avoiding errors when changing number of exclusions
See this thread: https://github.com/SimTk/openmm/issues/252#issuecomment-31068452
For any exceptions/exclusions that may change during the constant-pH simulation, we should set chargeProd and epsilon to be non-zero before creating the context, and then set them back to whatever value we like.
How are we dealing with this now? Can we really close this?
We are dealing with this as you mentioned I believe.
https://github.com/choderalab/openmm-constph/blob/master/constph/constph.py#L951