Skip to content

Ensure GCMC water count is up-to-date before resetting sampler#145

Merged
lohedges merged 1 commit intodevelfrom
fix_gcmc_reset
Apr 22, 2026
Merged

Ensure GCMC water count is up-to-date before resetting sampler#145
lohedges merged 1 commit intodevelfrom
fix_gcmc_reset

Conversation

@lohedges
Copy link
Copy Markdown
Contributor

This PR makes sure that the GCMC region water count is up-to-date before resetting the GCMCSampler at the end of an equilibration block. Otherwise, the sampler requires access to the OpenMM context in order to recompute the number following a bulk move, which would have been cleared by the reset.

@lohedges lohedges added bug Something isn't working cresset Related to work with Cresset labels Apr 22, 2026
@lohedges lohedges merged commit 9b176ab into devel Apr 22, 2026
3 of 4 checks passed
@lohedges lohedges deleted the fix_gcmc_reset branch April 22, 2026 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working cresset Related to work with Cresset

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant