Skip to content

Conversation

@fjclark
Copy link

@fjclark fjclark commented Jan 9, 2026

Description

This allows the internal evaluation of linearised bond and angle terms. See https://onlinelibrary.wiley.com/doi/pdf/10.1002/jcc.23897? for a discussion and use in e.g. https://pubs.rsc.org/en/content/articlehtml/2014/gg/d4sc00690a. This is based on #128 but I've removed some code and added tests to give the minimal required changes for our current fitting projects. I've changed #128 to:

  • Provide only functions for computing the energy with linearised harmonic terms, and leave the user to convert harmonic terms themselves (requires the choice of the spacing of the basis functions)
  • Remove linearised proper and improper code for now, since we don't currently use it, and there are differences in the implementation compared to the literature
  • Remove related functions in smee/converters, since there are no linearised SMIRNOFF handlers
  • Add tests

Happy to add more documentation on how to use this if needed. Thanks!

Status

  • Ready to go

thomasjamespope and others added 5 commits February 25, 2025 13:15
Add Linearized Potential Types
Add Linearized Potential Energy Functions
Add smirnoff converters for linearized potentials
- Provide only functions for computing the energy with linearised
  harmonic terms, and leave the user to convert harmonic terms
- Remove linearised proper and improper code
- Remove related functions in `smee/converters`, since there are no
  linearised SMIRNOFF handlers and this is an internal detail
- Add tests
@fjclark
Copy link
Author

fjclark commented Jan 9, 2026

(The failing tests are fixed by #129)

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.

2 participants