Reaction class for describing multiple pathways of secondary emissions due to a single outgoing particle in ItoKMCPhysics.
More...
#include <CD_ItoKMCSurfaceReactions.H>
|
|
using | Products = std::list< size_t > |
| | Alias for list of products.
|
| |
|
|
| 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< int > & | getDistribution () const noexcept |
| | Get the discrete distribution used to randomly select a reaction pathway.
|
| |
|
|
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< int > | 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.
◆ add()
Add a reaction to this collection.
- Parameters
-
| [in] | a_surfaceReaction | Surface reaction to add. |
◆ getDistribution()
| std::discrete_distribution< int > & ItoKMCSurfaceReactions::getDistribution |
( |
| ) |
const |
|
inlinenoexcept |
Get the discrete distribution used to randomly select a reaction pathway.
- Returns
- Discrete distribution weighted by the reaction efficiencies.
◆ getEfficiencies()
| const std::vector< Real > & ItoKMCSurfaceReactions::getEfficiencies |
( |
| ) |
const |
|
inlinenoexcept |
Get the efficiency (probability) for each competing reaction pathway.
- Returns
- Vector of efficiencies, one per reaction pathway.
◆ getProducts()
Get the plasma product index lists for each competing reaction pathway.
- Returns
- Vector of product index lists, one per reaction pathway.
◆ getReactant()
| const size_t & ItoKMCSurfaceReactions::getReactant |
( |
| ) |
const |
|
inlinenoexcept |
Get the reactant species index.
- Returns
- Index of the impinging species that triggers these reactions.
The documentation for this class was generated from the following files: