-
Notifications
You must be signed in to change notification settings - Fork 201
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
Correction to proton-boron fusion error check addressing issue #3797 #3823
Conversation
Changed PhysicalSpecies "helium" to "helium4" and made the error message string mention "helium4" instead of "alpha." It appears that PhysicalSpecies::alpha is currently unused.
Thanks for this PR! I actually also allowed I also updated the proton-boron fusion test, since it was (incorrectly) using |
Thank you for the response. I was thinking of doing that change at first, but it seemed to me that the "helium4 OR alpha" check isn't currently done elsewhere in BinaryCollisionUtils, and so I was trying to be consistent. For example, deuterium-helium3 fusion allows helium4 as a product species, but not alpha. I assume that had to do with conserving the number of electrons. Perhaps every instance of helium4 check needs to have an alpha check alternative? Technically, neither 3 x helium4 nor 3 x alpha conserves the number of electrons from proton + boron11 fusion, but 3*helium4 comes closer. The process of hydrogen1 + boron11 -> 3 x helium4 would conserve charge. Edit: another alternative I can think of is to make one of Looking at the map
|
That's a very good point. |
Excellent. I am happy to assist you in any way I can. |
Superseded by #4480 |
Changed PhysicalSpecies "helium" to "helium4" and made the error message string mention "helium4" instead of "alpha." It appears that PhysicalSpecies::alpha is currently unused. This is intended to address issue #3797.