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

Fix speciation check for full or empty groups #300

Merged
merged 1 commit into from
Jul 5, 2020
Merged

Conversation

mlund
Copy link
Owner

@mlund mlund commented Jul 3, 2020

This fixes a bug where products or reactants could be wrongly (de)activated even if the groups are full/empty. This is a problem important only when simulating at extreme conditions where the groups are nearly empty or nearly full. The issue could appear as a non-zero net-charge upon restarting an equilibration run which would typically be initiated with all molecules in their active state. The issue would not appear with swap moves and only if multiple products or reactants were involved in the reaction.

This fixes a bug where product and reactants
could be wrongly activated even if the groups
are full/empty. This is a problem important only
when simulating at extreme conditions where the
groups are almost empty or almost full.
@mlund mlund added bug 🐛 Broken or wrong functionality fix 🔧 Fix broken functionality labels Jul 3, 2020
@mlund mlund added this to the Version 2.5.0 milestone Jul 3, 2020
@mlund mlund changed the title Fix check for full/empty molecules Fix speciation check for full/empty molecules Jul 3, 2020
@mlund mlund changed the title Fix speciation check for full/empty molecules Fix speciation check for full/empty groups Jul 3, 2020
@mlund mlund changed the title Fix speciation check for full/empty groups Fix speciation check for full or empty groups Jul 3, 2020
@mlund mlund merged commit f94ab0c into master Jul 5, 2020
@mlund mlund deleted the speciation-full-check branch July 5, 2020 16:27
@mlund mlund modified the milestones: Version 2.5.0, Version 2.4.1 Jul 7, 2020
@mlund
Copy link
Owner Author

mlund commented Jul 7, 2020

@rc83 cherry pick this commit into a v2.4.2 bug fix release?

rc83 pushed a commit that referenced this pull request Jul 9, 2020
This fixes a bug where product and reactants
could be wrongly activated even if the groups
are full/empty. This is a problem important only
when simulating at extreme conditions where the
groups are almost empty or almost full.
@rc83
Copy link
Collaborator

rc83 commented Jul 9, 2020

I have created and pushed branch called release-2.4. It may be tagged as v2.4.2 if all test pass. – I have few tests failing locally but that can be different issue.

@mlund mlund modified the milestones: Version 2.4.2, Version 2.5.0 Mar 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Broken or wrong functionality fix 🔧 Fix broken functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants