8000 Base unscaled pairs on all atoms in a torsion by peastman · Pull Request #1182 · ParmEd/ParmEd · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Base unscaled pairs on all atoms in a torsion #1182

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

Merged
merged 1 commit into from
Jul 8, 2021

Conversation

peastman
Copy link
Contributor
@peastman peastman commented Jul 2, 2021

When I implemented unscaled 1-4 interactions in #1149, I based it on the assumption that pairs could be classified based just on the types of the two interacting atoms, ignoring the two other atoms that connect them. This turns out to be wrong. For example, O-C-CX-H1 is an ordinary backbone torsion that uses standard scaling factors. By O-C-Cg-H1 is a GLYCAM torsion that should be unscaled. You need to consider all four atoms to tell the difference. This changes it to do that.

@peastman
Copy link
Contributor Author
peastman commented Jul 5, 2021

Test results are in openmm/openmmforcefields#156 (comment). With this change, we get excellent agreement on energies.

@swails swails merged commit 8ac72ce into ParmEd:master Jul 8, 2021
@swails
Copy link
Contributor
swails commented Jul 8, 2021

Thanks!

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
0