|
chombo-discharge
|
Reaction class for describing multiple pathways of secondary emissions due to a single outgoing particle in ItoKMCPhysics. More...
#include <CD_ItoKMCSurfaceReactions.H>
Public Types | |
| using | Products = std::list< size_t > |
| Alias for list of products. | |
Public Member Functions | |
| ItoKMCSurfaceReactions () noexcept | |
| Allowed, but you need to call the define function afterwards. | |
| virtual | ~ItoKMCSurfaceReactions () noexcept |
| Destructor. | |
| void | add (const ItoKMCSurfaceReaction &a_surfaceReaction) noexcept |
| Add a reaction to this collection. | |
| void | reset () noexcept |
| Reset method for clearing class. | |
| const size_t & | getReactant () const noexcept |
| Get the reactant species index. | |
| const std::vector< Products > & | getProducts () const noexcept |
| Get the plasma product index lists for each competing reaction pathway. | |
| const std::vector< Real > & | getEfficiencies () const noexcept |
| Get the efficiency (probability) for each competing reaction pathway. | |
| std::discrete_distribution< size_t > & | getDistribution () const noexcept |
| Get the discrete distribution used to randomly select a reaction pathway. | |
Protected Attributes | |
| bool | m_isDefined |
| Is defined or not. | |
| size_t | m_reactant |
| Reactant index. | |
| std::vector< Products > | m_products |
| Plasma product indices. | |
| std::vector< Real > | m_efficiencies |
| Reaction efficiencies. | |
| std::discrete_distribution< size_t > | m_distribution |
| Discrete distribution – useful when drawing a reaction. | |
Reaction class for describing multiple pathways of secondary emissions due to a single outgoing particle in ItoKMCPhysics.
This class supports multiple emissions due to single impinging particles, and encapsulates all reactions A -> B, A -> B + C, etc.
|
inlinenoexcept |
Add a reaction to this collection.
| [in] | a_surfaceReaction | Surface reaction to add. |
|
inlinenoexcept |
Get the discrete distribution used to randomly select a reaction pathway.
|
inlinenoexcept |
Get the efficiency (probability) for each competing reaction pathway.
|
inlinenoexcept |
Get the plasma product index lists for each competing reaction pathway.
Get the reactant species index.