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 crash when plasma density is 0 #58

Open
AngelFP opened this issue Oct 22, 2021 · 0 comments
Open

Fix crash when plasma density is 0 #58

AngelFP opened this issue Oct 22, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@AngelFP
Copy link
Owner

AngelFP commented Oct 22, 2021

Most of the wakefield models are implemented in normalized units, and use the plasma density at the current z position to do the normalization. This obviously fails when the density is 0, which is something that can happen especially when custom density
profiles with ramps are used.

@AngelFP AngelFP added the bug Something isn't working label Oct 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant