Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed bug in PF6- angle parameters #34

Merged
merged 1 commit into from
Jan 10, 2024
Merged

Conversation

paulsaxe
Copy link
Collaborator

The angle parameters for PF6- in the CL&P forcefield only work if the 180º F-P-F angles are not included in the calculation. Replacing them with an equivalent periodic SHAPES-like potential almost works; however, since 0º is a valid angle and there are no 1-3 nonbonds, nothing keeps the F atoms apart. This is solved using a tabulated potential based on the SHAPES potential but with an added 1-3 repulsion large enough that the gradient is always pusing small angles apart, but not large enough to affect the minimum at 90º.

@paulsaxe paulsaxe added the bug Something isn't working label Jan 10, 2024
@paulsaxe paulsaxe requested a review from seamm January 10, 2024 15:49
Copy link
Contributor

@seamm seamm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, and tested

@paulsaxe paulsaxe merged commit cc4573f into molssi-seamm:main Jan 10, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants