-
Notifications
You must be signed in to change notification settings - Fork 217
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 gamma filter transition radiation #3105
fix gamma filter transition radiation #3105
Conversation
7fb3c56
to
c499c0c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried the example simulations again in these 3 situations:
gamma = 99, gammafilter = 100
gamma = 100, gammafilter = 100
gamma = 101, gammafilter = 100
And I only got non-zero output in the last two simulations. So it should work as expected now.
ready for review/merge |
@psychocoderHPC are you planning to review it? Looks good to me. |
@PrometheusPi if this bug shall show up in the changelog of the next release, do not forget to set the "affects latest release" label :) |
@ax3l luckily it just effects the current dev 🎉 - so no need to add this in the changelog |
This pull request fixes a bug in the transition radiation plugin that prevented the gamma filter from working.
The
transitionRadiationMask
was set as flag not as attribute, thus the filter was never applied and assumed to be always true.The documentation was updated alongside.