6 #ifndef CXX_IDEALGASMIX 7 #define CXX_IDEALGASMIX 25 IdealGasMix(
const std::string& infile, std::string id_=
"") :
34 m_id,
"phase",
this,
this);
36 "Cantera::buildSolutionFromXML returned false");
40 std::string id_) : m_ok(
false), m_r(&root), m_id(id_) {
56 friend std::ostream& operator<<(std::ostream& s,
IdealGasMix& mix) {
57 std::string r = mix.
report(
true);
XML_Node * get_XML_File(const std::string &file, int debug)
Return a pointer to the XML tree for a Cantera input file.
bool ready() const
Returns a bool indicating whether the object is ready for use.
Class IdealGasPhase represents low-density gases that obey the ideal gas equation of state...
Class XML_Node is a tree-based representation of the contents of an XML file.
Convenience class which inherits from both IdealGasPhase and GasKinetics.
Kinetics manager for elementary gas-phase chemistry.
ThermoPhase object for the ideal gas equation of state - workhorse for Cantera (see Thermodynamic Pro...
Base class for exceptions thrown by Cantera classes.
Definitions of global routines for the importing of data from XML files (see Input File Handling)...
virtual std::string report(bool show_thermo=true, doublereal threshold=-1e-14) const
returns a summary of the state of the phase as a string
Contains declarations for string manipulation functions within Cantera.
Namespace for the Cantera kernel.