9 #pragma message("warning: PureFluid.h is deprecated and will be removed after Cantera 2.5.0.")
25 warn_deprecated(
"class PureFluid",
"To be removed after Cantera 2.5.0. "
26 "Replaceable with PureFluidPhase.");
29 PureFluid(
const std::string& infile, std::string
id=
"") : m_ok(
false), m_r(0) {
30 warn_deprecated(
"class PureFluid",
"To be removed after Cantera 2.5.0. "
31 "Replaceable with PureFluidPhase::initThermoFile.");
38 "buildSolutionFromXML returned false");
53 friend std::ostream& operator<<(std::ostream& s,
PureFluid& mix) {
54 std::string r = mix.
report(
true);
72 Water() :
PureFluid(std::string(
"liquidvapor.cti"),std::string(
"water")) {
74 "Replaceable with PureFluidPhase.");
Header for a ThermoPhase class for a pure fluid phase consisting of gas, liquid, mixed-gas-liquid and...
Base class for exceptions thrown by Cantera classes.
This phase object consists of a single component that can be a gas, a liquid, a mixed gas-liquid flui...
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
Wrapper for PureFluidPhase with constructor from file.
bool ready() const
Returns a bool indicating whether the object is ready for use.
Water definition from liquidvapor input file.
Class XML_Node is a tree-based representation of the contents of an XML file.
Support for chemical kinetics calculation from C++ application programs.
Namespace for the Cantera kernel.