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);
ThermoPhase object for the ideal gas equation of state - workhorse for Cantera (see Thermodynamic Pro...
Base class for exceptions thrown by Cantera classes.
Kinetics manager for elementary gas-phase chemistry.
Convenience class which inherits from both IdealGasPhase and GasKinetics.
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.
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.
Definitions of global routines for the importing of data from XML files (see Input File Handling).
Namespace for the Cantera kernel.
Contains declarations for string manipulation functions within Cantera.