|
chombo-discharge
|
Reaction class for describing photoionization in ItoKMCPhysics. More...
#include <CD_ItoKMCPhotoReaction.H>
Public Member Functions | |
| ItoKMCPhotoReaction ()=default | |
| Allowed, but you need to call the define function afterwards. | |
| ItoKMCPhotoReaction (const size_t a_source, const std::list< size_t > a_targets, const Real a_efficiency=1.0) noexcept | |
| Full constructor. Calls the define function. | |
| virtual | ~ItoKMCPhotoReaction () noexcept |
| Destructor. | |
| void | define (const size_t a_source, const std::list< size_t > a_targets, const Real a_efficiency=1.0) noexcept |
| Define the photo-reaction. | |
| const size_t & | getSourcePhoton () const noexcept |
| Get the source photon species index. | |
| const std::list< size_t > & | getTargetSpecies () const noexcept |
| Get the plasma product species indices. | |
| const Real & | getEfficiency () const noexcept |
| Get the reaction efficiency. | |
Protected Attributes | |
| size_t | m_source |
| Source photon index. | |
| std::list< size_t > | m_targets |
| Plasma product indices. | |
| Real | m_efficiency |
| Reaction efficiency. | |
Reaction class for describing photoionization in ItoKMCPhysics.
|
inlinenoexcept |
Full constructor. Calls the define function.
| [in] | a_source | Index in the list of photon species that leads to a photo-reaction |
| [in] | a_targets | List of plasma species generated by the photo-reaction. |
| [in] | a_efficiency | Reaction efficiency. |
|
inlinenoexcept |
Define the photo-reaction.
The reaction efficiency matters when multiple reactions share the same source photon species; in that case the probabilities should sum to 1 across all competing reactions.
| [in] | a_source | Index of the source photon species in the species list. |
| [in] | a_targets | Indices of plasma species produced by the reaction. |
| [in] | a_efficiency | Probability that an absorbed photon triggers this reaction. |
Get the reaction efficiency.
Get the source photon species index.
Get the plasma product species indices.