Cantera
2.2.1
|
Definitions of global routines for the importing of data from XML files (see Input File Handling). More...
#include "Kinetics.h"
Go to the source code of this file.
Classes | |
struct | ReactionRules |
Rules for parsing and installing reactions. More... | |
Namespaces | |
Cantera | |
Namespace for the Cantera kernel. | |
Functions | |
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.0 otherwise. More... | |
void | checkRxnElementBalance (Kinetics &kin, const ReactionData &rdata, doublereal errorTolerance=1.0e-3) |
This function will check a specific reaction to see if the elements balance. More... | |
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. More... | |
void | getRateCoefficient (const XML_Node &kf, Kinetics &kin, ReactionData &rdata, const ReactionRules &rules) |
Read the rate coefficient data from the XML file. More... | |
bool | installReactionArrays (const XML_Node &p, Kinetics &kin, std::string default_phase, bool check_for_duplicates=false) |
Install information about reactions into the kinetics object, kin. More... | |
bool | importKinetics (const XML_Node &phase, std::vector< ThermoPhase * > th, Kinetics *kin) |
Import a reaction mechanism for a phase or an interface. More... | |
bool | buildSolutionFromXML (XML_Node &root, const std::string &id, const std::string &nm, ThermoPhase *th, Kinetics *kin) |
Build a single-phase ThermoPhase object with associated kinetics mechanism. More... | |
Definitions of global routines for the importing of data from XML files (see Input File Handling).
This file contains routines which are global routines, i.e., not part of any object. These routine take as input, ctml pointers to data, and pointers to Cantera objects. The purpose of these routines is to initialize the Cantera objects with data from the ctml tree structures.
Definition in file importKinetics.h.