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 gamma filter transition radiation #3105

Conversation

PrometheusPi
Copy link
Member

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.

@PrometheusPi PrometheusPi added bug a bug in the project's code component: plugin in PIConGPU plugin labels Nov 11, 2019
@PrometheusPi PrometheusPi force-pushed the fix_gammaFIlter_CTRplugin branch from 7fb3c56 to c499c0c Compare November 11, 2019 15:13
Copy link
Contributor

@finnolec finnolec left a 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.

@PrometheusPi
Copy link
Member Author

ready for review/merge

@sbastrakov
Copy link
Member

@psychocoderHPC are you planning to review it? Looks good to me.

@psychocoderHPC psychocoderHPC self-assigned this Nov 22, 2019
@psychocoderHPC psychocoderHPC merged commit 431ae94 into ComputationalRadiationPhysics:dev Nov 22, 2019
@PrometheusPi PrometheusPi deleted the fix_gammaFIlter_CTRplugin branch November 22, 2019 14:20
@ax3l
Copy link
Member

ax3l commented Nov 25, 2019

@PrometheusPi if this bug shall show up in the changelog of the next release, do not forget to set the "affects latest release" label :)

@PrometheusPi
Copy link
Member Author

@ax3l luckily it just effects the current dev 🎉 - so no need to add this in the changelog

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug a bug in the project's code component: plugin in PIConGPU plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants