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

Conflicting error message - PB fusion #3797

Closed
PhysicsDan opened this issue Mar 31, 2023 · 1 comment
Closed

Conflicting error message - PB fusion #3797

PhysicsDan opened this issue Mar 31, 2023 · 1 comment
Assignees

Comments

@PhysicsDan
Copy link
Contributor

Hi - great work implementing nuclear fusion!

Just to bring to your attention - this error message has a small typo in it.

When I set particle.species_type to alpha (or helium4) I get the error

0::Assertion `product_species.AmIA<PhysicalSpecies::helium>()' failed, file "src/warpx/Source/Particles/Collision/BinaryCollision/BinaryCollisionUtils.cpp", line 93, Msg: 
### ERROR   : ERROR: Product species of proton-boron fusion must be of type
#            alpha

While the code will start running when I set the species_type to helium (this matches the test inputs in this repo too).

Thanks,
Dan

@RemiLehe
Copy link
Member

RemiLehe commented Dec 5, 2023

Thanks for raising this issue!
This is now corrected in #4480

@RemiLehe RemiLehe closed this as completed Dec 5, 2023
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

No branches or pull requests

2 participants