Go to the documentation of this file.
6 #ifndef CXX_IDEALGASMIX
7 #define CXX_IDEALGASMIX
9 #pragma message("warning: IdealGasMix.h is deprecated and will be removed after Cantera 2.5.")
31 IdealGasMix(
const std::string& infile, std::string id_=
"") :
35 "To be removed after Cantera 2.5. "
36 "Replaceable with Solution and/or IdealGasPhase/GasKinetics.");
43 m_id,
"phase",
this,
this);
45 "Cantera::buildSolutionFromXML returned false");
49 std::string id_) : m_ok(
false), m_r(&root), m_id(id_) {
51 "To be removed after Cantera 2.5. "
52 "Replaceable with Solution and/or IdealGasPhase/GasKinetics.");
60 "To be removed after Cantera 2.5. "
61 "Replaceable with Solution and/or IdealGasPhase/GasKinetics.");
71 friend std::ostream& operator<<(std::ostream& s,
IdealGasMix& mix) {
72 std::string r = mix.
report(
true);
Convenience class which inherits from both IdealGasPhase and GasKinetics.
Class IdealGasPhase represents low-density gases that obey the ideal gas equation of state.
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
Class XML_Node is a tree-based representation of the contents of an XML file.
bool ready() const
Returns a bool indicating whether the object is ready for use.
Kinetics manager for elementary gas-phase chemistry.
Base class for exceptions thrown by Cantera classes.
Namespace for the Cantera kernel.