41 Interface(
const std::string& infile, std::string
id,
42 std::vector<ThermoPhase*> otherPhases) :
55 otherPhases.push_back(
this);
71 SurfPhase::operator=(right);
72 InterfaceKinetics::operator=(right);
102 const std::string&
id,
103 std::vector<ThermoPhase*> phases)
105 return new Interface(infile,
id, phases);
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.
Header for a simple thermodynamics model of a surface phase derived from ThermoPhase, assuming an ideal solution model (see Thermodynamic Properties and class SurfPhase).
bool operator!()
Not operator.
Class XML_Node is a tree-based representation of the contents of an XML file.
bool ready() const
return whether the object has been instantiated
Interface(const std::string &infile, std::string id, std::vector< ThermoPhase *> otherPhases)
Constructor.
A simple thermodynamic model for a surface phase, assuming an ideal solution model.
bool m_ok
Flag indicating that the object has been instantiated.
bool importKinetics(const XML_Node &phase, std::vector< ThermoPhase *> th, Kinetics *k)
Import a reaction mechanism for a phase or an interface.
Interface * importInterface(const std::string &infile, const std::string &id, std::vector< ThermoPhase *> phases)
Import an instance of class Interface from a specification in an input file.
A kinetics manager for heterogeneous reaction mechanisms.
Support for chemical kinetics calculation from C++ application programs.
XML_Node * m_r
XML_Node pointer to the XML File object that contains the Surface and the Interfacial Reaction object...
An interface between multiple bulk phases.
Base class for exceptions thrown by Cantera classes.
void importPhase(XML_Node &phase, ThermoPhase *th)
Import a phase information into an empty ThermoPhase object.
Namespace for the Cantera kernel.