rizer.cantera_ext
C++ Cantera 1-D plasma extension (custom Domain1D models and solvers)
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
24namespace Cantera
25{
26 class Kinetics;
27}
28
29namespace rizer
30{
31
42 bool equationHasElectron(const std::string &equation,
43 const std::string &electron);
44
47 {
51 std::vector<char> is_electron_reaction;
55 std::vector<double> threshold_energy;
58 };
59
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
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.
bool equationHasElectron(const std::string &equation, const std::string &electron)
Test whether the electron participates in a reaction equation as a standalone token.
The per-reaction data the electron pool's inelastic power needs.
bool any_electron_reaction
Whether any reaction at all involves the electron [-].
std::vector< double > threshold_energy
Threshold energy [J/kmol], length nReactions(), zero where no electron takes part.
std::vector< char > is_electron_reaction
1 where the electron participates, 0 elsewhere, length nReactions().