14 #ifndef CT_IMPORTKINETICS_H
15 #define CT_IMPORTKINETICS_H
26 bool skipUndeclaredSpecies;
27 bool skipUndeclaredThirdBodies;
51 std::map<int, doublereal>& r2);
65 doublereal errorTolerance = 1.0e-3);
92 std::vector<size_t>& spnum,
vector_fp& stoich,
138 std::string default_phase,
139 bool check_for_duplicates =
false);
void checkRxnElementBalance(Kinetics &kin, const ReactionData &rdata, doublereal errorTolerance)
This function will check a specific reaction to see if the elements balance.
Class XML_Node is a tree-based representation of the contents of an XML file.
bool installReactionArrays(const XML_Node &p, Kinetics &kin, std::string default_phase, bool check_for_duplicates)
Install information about reactions into the kinetics object, kin.
Base class for a phase with thermodynamic properties.
bool getReagents(const XML_Node &rxn, Kinetics &kin, int rp, std::string default_phase, std::vector< size_t > &spnum, vector_fp &stoich, vector_fp &order, const ReactionRules &rules)
Get the reactants or products of a reaction.
bool importKinetics(const XML_Node &phase, std::vector< ThermoPhase * > th, Kinetics *k)
Import a reaction mechanism for a phase or an interface.
doublereal isDuplicateReaction(std::map< int, doublereal > &r1, std::map< int, doublereal > &r2)
This function returns a ratio if two reactions are duplicates of one another, and 0...
Public interface for kinetics managers.
Rules for parsing and installing reactions.
Intermediate class which stores data about a reaction and its rate parameterization before adding the...
Base class for kinetics managers and also contains the kineticsmgr module documentation (see Kinetics...
std::vector< double > vector_fp
Turn on the use of stl vectors for the basic array type within cantera Vector of doubles.
void getRateCoefficient(const XML_Node &kf, Kinetics &kin, ReactionData &rdata, const ReactionRules &rules)
Read the rate coefficient data from the XML file.