Skip to content

Add box resizing to MD integrators #234

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

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from
Draft

Add box resizing to MD integrators #234

wants to merge 12 commits into from

Conversation

clpetix
Copy link
Contributor

@clpetix clpetix commented Feb 7, 2024

No description provided.

@clpetix clpetix linked an issue Feb 7, 2024 that may be closed by this pull request
@clpetix
Copy link
Contributor Author

clpetix commented Feb 7, 2024

@mphoward this is a working implementation of box resizing for LangevinDynamics. It is throwing a ton of errors on the unit tests, but I'm not sure how polished vs hacky we want this to be for now.

Let me know how you'd like to proceed!

@clpetix
Copy link
Contributor Author

clpetix commented Feb 11, 2024

Found a small issue where there was no check on whether a barostat was set before applying the barostat logic. This caused an error when barostat=None.

This seems to be running well in the test case discussed. Ready for a review whenever you get a chance next week, @mphoward !

Copy link
Collaborator

@mphoward mphoward left a comment

Choose a reason for hiding this comment

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

Thanks Levi, this looks great! I had some small comments.

In order to fix the issue with the unit tests, can you add the barostat argument to RunLangevinDynamics for the other simulation methods? If you put it in their constructors, they will be able to take it when they are constructed, and then they can just do nothing with it for the time being. I think that will allow everything to pass.

Make barostat to be last argument.
Check that barostat has at most two Extents.
@clpetix
Copy link
Contributor Author

clpetix commented Feb 12, 2024

@mphoward I think this is all good and ready for use!

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.

Add box resizing to MD integrators
2 participants