37 Interface(
const std::string& infile, std::string
id,
38 std::vector<Cantera::ThermoPhase*> otherPhases) :
51 otherPhases.push_back(
this);
109 const std::string&
id,
110 std::vector<Cantera::ThermoPhase*> phases)
112 return new Interface(infile,
id, phases);
Interface(const Interface &ii)
Copy Constructor.
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.
bool operator!()
Not operator.
bool ready() const
return whether the object has been instantiated
Interface & operator=(const Interface &right)
Assignment operator.
Class XML_Node is a tree-based representation of the contents of an XML file.
Interface(const std::string &infile, std::string id, std::vector< Cantera::ThermoPhase * > otherPhases)
Constructor.
Interface * importInterface(const std::string &infile, const std::string &id, std::vector< Cantera::ThermoPhase * > phases)
Import an instance of class Interface from a specification in an input file.
A simple thermodynamic model for a surface phase, assuming an ideal solution model.
bool importPhase(XML_Node &phase, ThermoPhase *th, SpeciesThermoFactory *spfactory)
Import a phase information into an empty ThermoPhase object.
SurfPhase & operator=(const SurfPhase &right)
Assignment operator.
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.
Cantera::XML_Node * m_r
XML_Node pointer to the XML File object that contains the Surface and the Interfacial Reaction object...
A kinetics manager for heterogeneous reaction mechanisms.
An interface between multiple bulk phases.
Base class for exceptions thrown by Cantera classes.
InterfaceKinetics & operator=(const InterfaceKinetics &right)
Assignment operator.