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

Virtual site overhaul #791

Merged
merged 18 commits into from
Aug 22, 2023
Merged

Virtual site overhaul #791

merged 18 commits into from
Aug 22, 2023

Conversation

mattwthompson
Copy link
Member

@mattwthompson mattwthompson commented Aug 17, 2023

Description

Resolves #789

Checklist

  • Fix BondCharge positions
  • Test OpenMM weights with a BondCharge placed at various locations
  • Use TwoParticleAverageSite for BondCharge
  • Use ThreeParticleAverageSite for some MonovalentLonePair
  • Test positions of TrivalentLonePair
  • Test geometries of four-site water models
  • Use OutOfPlaneSite for DivalentLonePair
  • Implement MonovalentLonePair positions
  • Implement DivalentLonePair positions
  • Implement TriivalentLonePair positions
  • Compare TIP4P implementations to OpenMM
  • Compare TIP5P implementations to OpenMM
  • Add tests
  • Lint
  • Update docstrings

@codecov
Copy link

codecov bot commented Aug 17, 2023

Codecov Report

Merging #791 (084be46) into main (fdf7630) will decrease coverage by 0.34%.
Report is 3 commits behind head on main.
The diff coverage is 96.80%.

❗ Current head 084be46 differs from pull request most recent head 6cbdea0. Consider uploading reports for the commit 6cbdea0 to get more accurate results

Additional details and impacted files

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@mattwthompson
Copy link
Member Author

I'm confused as to how the ligand + water example is now failing; of the things I expected to break, atom indexing wasn't one of them. I spent too long on this tonight, will pick it up again tomorrow.

@mattwthompson
Copy link
Member Author

The math of TrivalentLonePair is trickier but I think I have things right; at very least the direction appears to be consistent with the SMIRNOFF spec (positive: "above" the nitrogen; negative: "below" the nitrogen) and qualitatively matching the value of the parameter. Here are visualizations with distance values of -0.5 A and +2.5 A:

image
image

@mattwthompson mattwthompson marked this pull request as ready for review August 22, 2023 19:55
@mattwthompson
Copy link
Member Author

There are a couple of things left to do but I'm going to put this out anyway. This fixes a fairly important bug and putting a release out might also fix #790

@mattwthompson mattwthompson merged commit 005a96c into main Aug 22, 2023
27 checks passed
@mattwthompson mattwthompson deleted the virtual-site-overhaul branch August 25, 2023 18:14
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.

BondCharge virtual sites placed in opposite direction
1 participant