-
Notifications
You must be signed in to change notification settings - Fork 218
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
bug fix ipd ionization #5245
bug fix ipd ionization #5245
Conversation
*/ | ||
bool const stateIsUnboundDueToIPDOnly = (ionizationEnergy >= 0._X); | ||
|
||
if(stateIsUnbound && stateIsUnboundDueToIPDOnly) |
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.
if(stateIsUnbound && stateIsUnboundDueToIPDOnly) | |
// state is unbound due to IPD | |
if(ionizationEnergy >= 0 && ipd > ionizationEnergy) |
EDITED: This might be clearer to read. And we can remove the variables ipdIonizationEnergy
, stateIsUnbound
, and stateIsUnboundDueToIPDOnly
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 am curious if this is really the logic that is required. What is supposed to happen if ionizationEnergy < 0
?
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.
the state is supposed to relax via the regular time resolved rate solver channels, such as deexcitation, electronic ionization or autonomous ionization(EA).
ci: picongpu
19518ec
to
6eb0d91
Compare
fixes a physics modelling bug causing a non-energy conserving ionization cascade, when encountering non-bound low shell hole states at the start of an atomicPhysics(FLYonPIC) sub step.