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

Change deletion move acceptance criteria for restricted insertions #66

Merged
merged 3 commits into from
Aug 12, 2020

Conversation

rsdefever
Copy link
Collaborator

@rsdefever rsdefever commented Jul 27, 2020

Description

Update the deletion move acceptance criteria to use the inner_volume, aka, restricted insertion volume. Previously it used the volume of the full box. This is incorrect.

As currently implemented, restricted insertions should only be used if the inserted molecules cannot escape the restricted region during a simulation (e.g., impenetrable walls block off the restricted region from the remainder of the simulation box). A relevant warning was added to the user manual.

Caveat/possible future additions

It would be possible to use restricted insertions in a situation where molecules could escape the restricted region if the code was modified to only attempt deletion moves on molecules that were currently within the restricted region. At this time this feature has not been implemented and thus restricted insertions should be limited to the scenario where molecules cannot escape the restricted region.

How Has This Been Tested?

Results for SPC/E water inserted into a graphene pore were compared using restricted insertions and insertions anywhere in the box. In the latter case, the only viable insertions were in the pore due to the excluded volume of the graphene layers comprising the pore. The results were identical in both cases. With the previous version of the code, Cassandra over-estimated the number of waters in the pore. The results are also in agreement with results from GOMC.

Backward Compatibility

Full backwards compatibility is maintained.

Post Submission Checklist

Please check the fields below as they are completed

  • Suitable new documentation files and/or updates to the existing docs are included.
  • One or more example input decks are included.

@rsdefever rsdefever merged commit 85fa0bf into MaginnGroup:master Aug 12, 2020
@rsdefever rsdefever deleted the fix/move-delete branch August 15, 2020 16:46
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.

1 participant