Skip to content

Support external potentials - #9

Merged
peastman merged 2 commits into
openmm:mainfrom
peastman:potential
Aug 18, 2026
Merged

Support external potentials#9
peastman merged 2 commits into
openmm:mainfrom
peastman:potential

Conversation

@peastman

Copy link
Copy Markdown
Member

This adds two related features. ChargeEquilibration now lets you specify an external potential that should polarize the system. One of the main uses of this feature is ML/MM simulations where the MM charges should polarize the ML region. To enable that, I also added a compute_potential() method to all the Coulomb classes. They already had compute_field(), but for this purpose you need the potential instead of the field.

@peastman
peastman merged commit 7b1649c into openmm:main Aug 18, 2026
2 checks passed
@peastman
peastman deleted the potential branch August 18, 2026 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant