Cantera 2.6.0
|
A class for managing third-body efficiencies, including default values. More...
#include <Reaction.h>
Public Member Functions | |
ThirdBody (double default_efficiency=1.0) | |
ThirdBody (const AnyMap &node) | |
void | setEfficiencies (const AnyMap &node) |
Set third-body efficiencies from AnyMap node More... | |
double | efficiency (const std::string &k) const |
Get the third-body efficiency for species k More... | |
Public Attributes | |
Composition | efficiencies |
Map of species to third body efficiency. More... | |
double | default_efficiency |
The default third body efficiency for species not listed in efficiencies. More... | |
bool | specified_collision_partner |
Input explicitly specifies collision partner. More... | |
bool | mass_action |
Third body is used by law of mass action (true for three-body reactions, false for falloff reactions) More... | |
A class for managing third-body efficiencies, including default values.
Definition at line 237 of file Reaction.h.
|
explicit |
Definition at line 610 of file Reaction.cpp.
Definition at line 617 of file Reaction.cpp.
void setEfficiencies | ( | const AnyMap & | node | ) |
Set third-body efficiencies from AnyMap node
Definition at line 624 of file Reaction.cpp.
References ThirdBody::default_efficiency, ThirdBody::efficiencies, AnyMap::getDouble(), and AnyMap::hasKey().
double efficiency | ( | const std::string & | k | ) | const |
Get the third-body efficiency for species k
Definition at line 632 of file Reaction.cpp.
References ThirdBody::default_efficiency, ThirdBody::efficiencies, and Cantera::getValue().
Composition efficiencies |
Map of species to third body efficiency.
Definition at line 251 of file Reaction.h.
Referenced by GasKinetics::addFalloffReaction(), GasKinetics::addThreeBodyReaction(), ThirdBody::efficiency(), ThreeBodyReaction2::getParameters(), FalloffReaction2::getParameters(), ThreeBodyReaction2::productString(), FalloffReaction2::productString(), ThreeBodyReaction2::reactantString(), FalloffReaction2::reactantString(), ThirdBody::setEfficiencies(), ThreeBodyReaction2::undeclaredThirdBodies(), and FalloffReaction2::undeclaredThirdBodies().
double default_efficiency |
The default third body efficiency for species not listed in efficiencies.
Definition at line 255 of file Reaction.h.
Referenced by GasKinetics::addFalloffReaction(), GasKinetics::addThreeBodyReaction(), ThirdBody::efficiency(), ThreeBodyReaction2::getParameters(), FalloffReaction2::getParameters(), FalloffReaction2::productString(), FalloffReaction2::reactantString(), and ThirdBody::setEfficiencies().
bool specified_collision_partner |
Input explicitly specifies collision partner.
Definition at line 258 of file Reaction.h.
Referenced by ThreeBodyReaction2::getParameters(), ThreeBodyReaction2::productString(), ThreeBodyReaction2::reactantString(), and ThreeBodyReaction2::undeclaredThirdBodies().
bool mass_action |
Third body is used by law of mass action (true
for three-body reactions, false
for falloff reactions)
Definition at line 262 of file Reaction.h.