2 #ifndef CXX_IDEALGASMIX
3 #define CXX_IDEALGASMIX
19 IdealGasMix() : m_ok(false), m_r(0) {}
21 IdealGasMix(
const std::string& infile, std::string id_=
"") :
30 m_id,
"phase",
this,
this);
31 if (!m_ok)
throw CanteraError(
"IdealGasMix",
32 "Cantera::buildSolutionFromXML returned false");
36 IdealGasMix(XML_Node& root,
37 std::string id_) : m_ok(false), m_r(&root), m_id(id_) {
41 IdealGasMix(
const IdealGasMix& other) : m_ok(false),
53 friend std::ostream& operator<<(std::ostream& s, IdealGasMix& mix) {
54 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.
ThermoPhase object for the ideal gas equation of state - workhorse for Cantera (see Thermodynamic Pro...
Definitions of global routines for the importing of data from XML files (see Input File Handling)...
Contains declarations for string manipulation functions within Cantera.