13 class PureFluid :
public PureFluidPhase
17 PureFluid() : m_ok(false), m_r(0) {}
19 PureFluid(
const std::string& infile, std::string
id=
"") : m_ok(false), m_r(0) {
26 if (!m_ok)
throw CanteraError(
"PureFluid",
27 "buildSolutionFromXML returned false");
31 PureFluid(XML_Node& root,
const std::string&
id) : m_ok(false), m_r(0) {
41 friend std::ostream& operator<<(std::ostream& s, PureFluid& mix) {
42 std::string r = mix.report(
true);
54 class Water :
public PureFluid
57 Water() : PureFluid(std::string(
"liquidvapor.cti"),std::string(
"water")) {}
XML_Node * get_XML_File(const std::string &file, int debug)
Return a pointer to the XML tree for a Cantera input file.
Header for a ThermoPhase class for a pure fluid phase consisting of gas, liquid, mixed-gas-liquid and...
Contains declarations for string manipulation functions within Cantera.