-
Notifications
You must be signed in to change notification settings - Fork 12
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
Port RF Boresch restraints to PME #226
Port RF Boresch restraints to PME #226
Conversation
Based of Boresch restraints for RF in src/libs/SireMove/openmmfrenergyst.cpp and OpenBioSim@43ed4bc
321384f
to
c168d9d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @nigel-palmer-cresset. This looks good to me. Happy to wait for @fjclark to comment before merging if needed. (He has also ported this on his own branch.)
Hi @lohedges the Boresch part looks good to me. My only minor comment is that the flat-bottomed distance restraint equation:
is inconsistent with that in
Likely because I updated the former to the latter and the older version has been copied. The minor issue with the older version is that the potential is not harmonic with equilibrium position dl (instead it's (r-reql)^2 - dl^2). I'd suggest updating to the newer version which gives the intended harmonic potential ((abs(r-reql)-dl)**2). Scaling with lambda^5 makes makes turning on the potential smoother. |
Updated to match the equation in openmmfrenergyst.cpp. This is due to a minor issue with the older version where the potential is not harmonic with equilibrium position dl.
Thanks @fjclark, I have updated the equation. |
Based of Boresch restraints for RF in
src/libs/SireMove/openmmfrenergyst.cpp and
43ed4bc
devel
into this branch before issuing this pull request (e.g. by runninggit pull origin devel
): ySuggested reviewers:
@chryswoods, @lohedges