chombo-discharge
Loading...
Searching...
No Matches
Physics::ItoKMC::ItoKMCSurfaceReactionSet Class Reference

Class for holding a set of surface reactions. More...

#include <CD_ItoKMCSurfaceReactionSet.H>

Public Types

enum class  Surface { Dielectric , Electrode }
 Local enum for specifying surface type.
enum class  Species { Plasma , Photon }
 Local enum for specifying species type.

Public Member Functions

 ItoKMCSurfaceReactionSet ()=default
 Allowed, but you need to call the define function afterwards.
virtual ~ItoKMCSurfaceReactionSet () noexcept
 Destructor.
void add (const size_t a_speciesIndex, const ItoKMCSurfaceReaction &a_reaction, const ItoKMCSurfaceReactionSet::Surface a_surface, const ItoKMCSurfaceReactionSet::Species a_speciesType) noexcept
 Add a surface reaction to the set.
void addDomain (const size_t a_speciesIndex, const ItoKMCSurfaceReaction &a_reaction, const int a_dir, const Side::LoHiSide a_side, const ItoKMCSurfaceReactionSet::Species a_speciesType) noexcept
 Add a surface reaction on one face of the computational domain.
const std::map< size_t, ItoKMCSurfaceReactions > & getDielectricPlasmaReactions () const noexcept
 Get the dielectric surface reactions where the outgoing species is a plasma species.
const std::map< size_t, ItoKMCSurfaceReactions > & getDielectricPhotonReactions () const noexcept
 Get the dielectric surface reactions where the outgoing species is a photon species.
const std::map< size_t, ItoKMCSurfaceReactions > & getElectrodePlasmaReactions () const noexcept
 Get the electrode surface reactions where the outgoing species is a plasma species.
const std::map< size_t, ItoKMCSurfaceReactions > & getElectrodePhotonReactions () const noexcept
 Get the electrode surface reactions where the outgoing species is a photon species.
const std::map< size_t, ItoKMCSurfaceReactions > & getDomainPlasmaReactions (const int a_dir, const Side::LoHiSide a_side) const noexcept
 Get the reactions on one domain face where the outgoing species is a plasma species.
const std::map< size_t, ItoKMCSurfaceReactions > & getDomainPhotonReactions (const int a_dir, const Side::LoHiSide a_side) const noexcept
 Get the reactions on one domain face where the outgoing species is a photon species.

Static Protected Member Functions

static int domainFaceIndex (const int a_dir, const Side::LoHiSide a_side) noexcept
 Index of a domain face in m_domainPlasmaReactions and m_domainPhotonReactions.

Protected Attributes

std::map< size_t, ItoKMCSurfaceReactions > m_dielectricPlasmaReactions
 Dielectric reaction set where outgoing species is a plasma species.
std::map< size_t, ItoKMCSurfaceReactions > m_dielectricPhotonReactions
 Dielectric reaction set where outgoing species is a photon species.
std::map< size_t, ItoKMCSurfaceReactions > m_electrodePlasmaReactions
 Electrode reaction set where outgoing species is a plasma species.
std::map< size_t, ItoKMCSurfaceReactions > m_electrodePhotonReactions
 Electrode reaction set where outgoing species is a photon species.
std::array< std::map< size_t, ItoKMCSurfaceReactions >, 2 *SpaceDim > m_domainPlasmaReactions
 Domain reaction sets where outgoing species is a plasma species, one per domain face.
std::array< std::map< size_t, ItoKMCSurfaceReactions >, 2 *SpaceDim > m_domainPhotonReactions
 Domain reaction sets where outgoing species is a photon species, one per domain face.

Detailed Description

Class for holding a set of surface reactions.

Member Function Documentation

◆ add()

void ItoKMCSurfaceReactionSet::add ( const size_t a_speciesIndex,
const ItoKMCSurfaceReaction & a_reaction,
const ItoKMCSurfaceReactionSet::Surface a_surface,
const ItoKMCSurfaceReactionSet::Species a_speciesType )
inlinenoexcept

Add a surface reaction to the set.

Parameters
[in]a_speciesIndexIndex of the outgoing/impinging species that triggers the reaction.
[in]a_reactionReaction to add.
[in]a_surfaceWhether this is a dielectric or electrode surface.
[in]a_speciesTypeWhether the outgoing species is a plasma or photon species.

◆ addDomain()

void ItoKMCSurfaceReactionSet::addDomain ( const size_t a_speciesIndex,
const ItoKMCSurfaceReaction & a_reaction,
const int a_dir,
const Side::LoHiSide a_side,
const ItoKMCSurfaceReactionSet::Species a_speciesType )
inlinenoexcept

Add a surface reaction on one face of the computational domain.

Parameters
[in]a_speciesIndexIndex of the outgoing/impinging species that triggers the reaction.
[in]a_reactionReaction to add.
[in]a_dirCoordinate direction normal to the domain face.
[in]a_sideLow or high side of the domain in a_dir.
[in]a_speciesTypeWhether the outgoing species is a plasma or photon species.

◆ domainFaceIndex()

int ItoKMCSurfaceReactionSet::domainFaceIndex ( const int a_dir,
const Side::LoHiSide a_side )
inlinestaticprotectednoexcept

Index of a domain face in m_domainPlasmaReactions and m_domainPhotonReactions.

Parameters
[in]a_dirCoordinate direction normal to the domain face.
[in]a_sideLow or high side of the domain in a_dir.
Returns
2*a_dir for the low side and 2*a_dir + 1 for the high side.

◆ getDielectricPhotonReactions()

const std::map< size_t, ItoKMCSurfaceReactions > & ItoKMCSurfaceReactionSet::getDielectricPhotonReactions ( ) const
inlinenoexcept

Get the dielectric surface reactions where the outgoing species is a photon species.

Returns
Map from species index to reaction list for dielectric photon reactions.

◆ getDielectricPlasmaReactions()

const std::map< size_t, ItoKMCSurfaceReactions > & ItoKMCSurfaceReactionSet::getDielectricPlasmaReactions ( ) const
inlinenoexcept

Get the dielectric surface reactions where the outgoing species is a plasma species.

Returns
Map from species index to reaction list for dielectric plasma reactions.

◆ getDomainPhotonReactions()

const std::map< size_t, ItoKMCSurfaceReactions > & ItoKMCSurfaceReactionSet::getDomainPhotonReactions ( const int a_dir,
const Side::LoHiSide a_side ) const
inlinenoexcept

Get the reactions on one domain face where the outgoing species is a photon species.

Parameters
[in]a_dirCoordinate direction normal to the domain face.
[in]a_sideLow or high side of the domain in a_dir.
Returns
Map from species index to reaction list for photon reactions on this face.

◆ getDomainPlasmaReactions()

const std::map< size_t, ItoKMCSurfaceReactions > & ItoKMCSurfaceReactionSet::getDomainPlasmaReactions ( const int a_dir,
const Side::LoHiSide a_side ) const
inlinenoexcept

Get the reactions on one domain face where the outgoing species is a plasma species.

Parameters
[in]a_dirCoordinate direction normal to the domain face.
[in]a_sideLow or high side of the domain in a_dir.
Returns
Map from species index to reaction list for plasma reactions on this face.

◆ getElectrodePhotonReactions()

const std::map< size_t, ItoKMCSurfaceReactions > & ItoKMCSurfaceReactionSet::getElectrodePhotonReactions ( ) const
inlinenoexcept

Get the electrode surface reactions where the outgoing species is a photon species.

Returns
Map from species index to reaction list for electrode photon reactions.

◆ getElectrodePlasmaReactions()

const std::map< size_t, ItoKMCSurfaceReactions > & ItoKMCSurfaceReactionSet::getElectrodePlasmaReactions ( ) const
inlinenoexcept

Get the electrode surface reactions where the outgoing species is a plasma species.

Returns
Map from species index to reaction list for electrode plasma reactions.

Member Data Documentation

◆ m_domainPhotonReactions

std::array<std::map<size_t, ItoKMCSurfaceReactions>, 2 * SpaceDim> Physics::ItoKMC::ItoKMCSurfaceReactionSet::m_domainPhotonReactions
protected

Domain reaction sets where outgoing species is a photon species, one per domain face.

Indexed by 2*dir + side, with the low side first.

◆ m_domainPlasmaReactions

std::array<std::map<size_t, ItoKMCSurfaceReactions>, 2 * SpaceDim> Physics::ItoKMC::ItoKMCSurfaceReactionSet::m_domainPlasmaReactions
protected

Domain reaction sets where outgoing species is a plasma species, one per domain face.

Indexed by 2*dir + side, with the low side first.


The documentation for this class was generated from the following files: