-
Notifications
You must be signed in to change notification settings - Fork 1
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
base: main
Are you sure you want to change the base?
Conversation
@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! |
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 This seems to be running well in the test case discussed. Ready for a review whenever you get a chance next week, @mphoward ! |
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 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.
@mphoward I think this is all good and ready for use! |
No description provided.