-
Notifications
You must be signed in to change notification settings - Fork 189
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
Refactor particle management #4605
Refactor particle management #4605
Conversation
Encapsulate code responsible for keeping track of reacted particles and restoring the original state. Factor out code duplication.
The test case re-uses the reaction_ensemble_complex_reaction.py sample. Co-authored-by: Jonas Landsgesell <[email protected]>
be145b2
to
ae2b400
Compare
Here is the output on my workstation:
In the end, the bug needs to be removed with your PR. |
That's strange, somehow I cannot reproduce it in my workstation. I get
it is quite right that we need to solve it in another PR but, just to avoid confusion, my current PR is just on the refactoring of the MC function to move particles. I was waiting for your green light on my idea of checking the bookeeping list each time the Anyway, I will not oppose to merge this PR for this error message since I agree with you that we need to solve the bug in another PR anyway. |
Description of changes: