rizer.cantera_ext
C++ Cantera 1-D plasma extension (custom Domain1D models and solvers)
Toggle main menu visibility
Loading...
Searching...
No Matches
ElectronReactions.h
Go to the documentation of this file.
1
16
17
#ifndef RIZER_ELECTRON_REACTIONS_H
18
#define RIZER_ELECTRON_REACTIONS_H
19
20
#include <cstddef>
21
#include <string>
22
#include <vector>
23
24
namespace
Cantera
25
{
26
class
Kinetics
;
27
}
28
29
namespace
rizer
30
{
31
42
bool
equationHasElectron
(
const
std::string &equation,
43
const
std::string &electron);
44
46
struct
ElectronReactionIndex
47
{
51
std::vector<char>
is_electron_reaction
;
55
std::vector<double>
threshold_energy
;
57
bool
any_electron_reaction
=
false
;
58
};
59
76
ElectronReactionIndex
buildElectronReactionIndex
(
77
Cantera::Kinetics
&kinetics,
const
std::string &electron,
78
const
std::vector<double> &species_h0k, std::size_t n_species,
79
bool
reacting);
80
81
}
// namespace rizer
82
83
#endif
// RIZER_ELECTRON_REACTIONS_H
Cantera::Kinetics
Cantera
rizer
Definition
ElectronReactions.cpp:11
rizer::buildElectronReactionIndex
ElectronReactionIndex buildElectronReactionIndex(Cantera::Kinetics &kinetics, const std::string &electron, const std::vector< double > &species_h0k, std::size_t n_species, bool reacting)
Build the index for one mechanism.
Definition
ElectronReactions.cpp:36
rizer::equationHasElectron
bool equationHasElectron(const std::string &equation, const std::string &electron)
Test whether the electron participates in a reaction equation as a standalone token.
Definition
ElectronReactions.cpp:17
rizer::ElectronReactionIndex
The per-reaction data the electron pool's inelastic power needs.
Definition
ElectronReactions.h:47
rizer::ElectronReactionIndex::any_electron_reaction
bool any_electron_reaction
Whether any reaction at all involves the electron [-].
Definition
ElectronReactions.h:57
rizer::ElectronReactionIndex::threshold_energy
std::vector< double > threshold_energy
Threshold energy [J/kmol], length nReactions(), zero where no electron takes part.
Definition
ElectronReactions.h:55
rizer::ElectronReactionIndex::is_electron_reaction
std::vector< char > is_electron_reaction
1 where the electron participates, 0 elsewhere, length nReactions().
Definition
ElectronReactions.h:51
rizer
cantera_ext
kinetics
ElectronReactions.h
Generated by
1.18.0