Cantera 2.6.0
Namespaces | Functions
Reaction.cpp File Reference
#include "cantera/kinetics/Reaction.h"
#include "ReactionFactory.h"
#include "cantera/kinetics/ReactionRateFactory.h"
#include "cantera/kinetics/FalloffFactory.h"
#include "cantera/kinetics/Kinetics.h"
#include "cantera/thermo/ThermoPhase.h"
#include "cantera/thermo/SurfPhase.h"
#include "cantera/base/ctml.h"
#include "cantera/base/Array.h"
#include "cantera/base/AnyMap.h"
#include "cantera/base/utilities.h"
#include "cantera/base/stringUtils.h"
#include <boost/algorithm/string/predicate.hpp>
#include <sstream>
#include <set>
#include <boost/algorithm/string.hpp>
Include dependency graph for Reaction.cpp:

Go to the source code of this file.

Namespaces

namespace  Cantera
 Namespace for the Cantera kernel.
 

Functions

void updateUndeclared (std::vector< std::string > &undeclared, const Composition &comp, const Kinetics &kin)
 
bool isThreeBody (const Reaction &R)
 
unique_ptr< Reaction > newReaction (const std::string &type)
 Create a new empty Reaction object. More...
 
unique_ptr< Reaction > newReaction (const XML_Node &rxn_node)
 Create a new Reaction object for the reaction defined in rxn_node More...
 
unique_ptr< Reaction > newReaction (const AnyMap &rxn_node, const Kinetics &kin)
 Create a new Reaction object using the specified parameters. More...
 
Arrhenius2 readArrhenius (const XML_Node &arrhenius_node)
 
Arrhenius2 readArrhenius (const Reaction &R, const AnyValue &rate, const Kinetics &kin, const UnitSystem &units, int pressure_dependence=0)
 
void readFalloff (FalloffReaction2 &R, const XML_Node &rc_node)
 Parse falloff parameters, given a rateCoeff node. More...
 
void readFalloff (FalloffReaction2 &R, const AnyMap &node)
 
void readEfficiencies (ThirdBody &tbody, const XML_Node &rc_node)
 
void readEfficiencies (ThirdBody &tbody, const AnyMap &node)
 
bool detectEfficiencies (ThreeBodyReaction2 &R)
 
void setupReaction (Reaction &R, const XML_Node &rxn_node)
 
void parseReactionEquation (Reaction &R, const std::string &equation, const AnyBase &reactionNode, const Kinetics *kin)
 Parse reaction equation. More...
 
void setupReaction (Reaction &R, const AnyMap &node, const Kinetics &kin)
 
void setupElementaryReaction (ElementaryReaction2 &, const XML_Node &)
 
void setupElementaryReaction (ElementaryReaction2 &, const AnyMap &, const Kinetics &)
 
void setupThreeBodyReaction (ThreeBodyReaction2 &, const XML_Node &)
 
void setupThreeBodyReaction (ThreeBodyReaction2 &, const AnyMap &, const Kinetics &)
 
void setupFalloffReaction (FalloffReaction2 &, const XML_Node &)
 
void setupFalloffReaction (FalloffReaction2 &, const AnyMap &, const Kinetics &)
 
void setupChemicallyActivatedReaction (ChemicallyActivatedReaction2 &, const XML_Node &)
 
void setupPlogReaction (PlogReaction2 &, const XML_Node &)
 
void setupPlogReaction (PlogReaction2 &, const AnyMap &, const Kinetics &)
 
void setupChebyshevReaction (ChebyshevReaction2 &, const XML_Node &)
 
void setupChebyshevReaction (ChebyshevReaction2 &, const AnyMap &, const Kinetics &)
 
void setupInterfaceReaction (InterfaceReaction2 &, const XML_Node &)
 
void setupInterfaceReaction (InterfaceReaction2 &, const AnyMap &, const Kinetics &)
 
void setupElectrochemicalReaction (ElectrochemicalReaction2 &, const XML_Node &)
 
void setupElectrochemicalReaction (ElectrochemicalReaction2 &, const AnyMap &, const Kinetics &)
 
std::vector< shared_ptr< Reaction > > getReactions (const XML_Node &node)
 Create Reaction objects for all <reaction> nodes in an XML document. More...
 
std::vector< shared_ptr< Reaction > > getReactions (const AnyValue &items, Kinetics &kinetics)
 Create Reaction objects for each item (an AnyMap) in items. More...