12 #pragma message("warning: Interface.h is deprecated and will be removed after Cantera 2.5.")
46 Interface(
const std::string& infile, std::string
id,
47 std::vector<ThermoPhase*> otherPhases) :
51 "To be removed after Cantera 2.5. "
52 "Replaceable with Solution and/or SurfPhase/InterfaceKinetics.");
64 otherPhases.push_back(
this);
95 const std::string&
id,
96 std::vector<ThermoPhase*> phases)
99 "Replaceable with Solution.");
100 return new Interface(infile,
id, phases);
Header for a simple thermodynamics model of a surface phase derived from ThermoPhase,...
Base class for exceptions thrown by Cantera classes.
A kinetics manager for heterogeneous reaction mechanisms.
An interface between multiple bulk phases.
Interface(const std::string &infile, std::string id, std::vector< ThermoPhase * > otherPhases)
Constructor.
XML_Node * m_r
XML_Node pointer to the XML File object that contains the Surface and the Interfacial Reaction object...
bool m_ok
Flag indicating that the object has been instantiated.
bool operator!()
Not operator.
bool ready() const
return whether the object has been instantiated
A simple thermodynamic model for a surface phase, assuming an ideal solution model.
Class XML_Node is a tree-based representation of the contents of an XML file.
bool importKinetics(const XML_Node &phase, std::vector< ThermoPhase * > th, Kinetics *k)
Import a reaction mechanism for a phase or an interface.
void importPhase(XML_Node &phase, ThermoPhase *th)
Import a phase information into an empty ThermoPhase object.
Support for chemical kinetics calculation from C++ application programs.
Namespace for the Cantera kernel.
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.
Support for thermo property calculation from C++ application programs.