17 Edge(
const std::string& infile, std::string
id, std::vector<ThermoPhase*> phases)
18 : m_ok(
false), m_r(0) {
27 throw CanteraError(
"Edge::Edge",
"error in get_XML_Node");
31 phases.push_back(
this);
XML_Node * get_XML_Node(const std::string &file_ID, XML_Node *root)
This routine will locate an XML node in either the input XML tree or in another input file specified ...
Support for thermo property calculation from C++ application programs.
XML_Node * get_XML_File(const std::string &file, int debug)
Return a pointer to the XML tree for a Cantera input file.
Class XML_Node is a tree-based representation of the contents of an XML file.
A thermodynamic phase representing a one dimensional edge between two surfaces.
bool importPhase(XML_Node &phase, ThermoPhase *th, SpeciesThermoFactory *spfactory)
Import a phase information into an empty ThermoPhase object.
bool importKinetics(const XML_Node &phase, std::vector< ThermoPhase * > th, Kinetics *k)
Import a reaction mechanism for a phase or an interface.
Base class for exceptions thrown by Cantera classes.
Convenience class which inherits from both EdgePhase and EdgeKinetics.
Definitions of global routines for the importing of data from XML files (see Input File Handling)...
Heterogeneous reactions at one-dimensional interfaces between multiple adjacent two-dimensional surfa...
bool ready() const
Returns true if the kinetics manager has been properly initialized and finalized. ...