8 #ifndef CT_METALPHASE_H 9 #define CT_METALPHASE_H 35 m_press = right.m_press;
49 "To be removed after Cantera 2.3.");
52 virtual std::string
type()
const {
83 for (
size_t n = 0; n <
nSpecies(); n++) {
89 for (
size_t n = 0; n <
nSpecies(); n++) {
95 for (
size_t n = 0; n <
nSpecies(); n++) {
101 for (
size_t n = 0; n <
nSpecies(); n++) {
107 for (
size_t n = 0; n <
nSpecies(); n++) {
122 doublereal rho =
getFloat(eosdata,
"density",
"density");
CTML ("Cantera Markup Language") is the variant of XML that Cantera uses to store data...
ThermoPhase & operator=(const ThermoPhase &right)
Class XML_Node is a tree-based representation of the contents of an XML file.
void warn_deprecated(const std::string &method, const std::string &extra)
Print a warning indicating that method is deprecated.
size_t nSpecies() const
Returns the number of species in the phase.
Base class for a phase with thermodynamic properties.
void _require(const std::string &a, const std::string &v) const
Require that the current XML node have an attribute named by the first argument, a, and that this attribute have the the string value listed in the second argument, v.
const int cMetal
A metal phase.
doublereal getFloat(const XML_Node &parent, const std::string &name, const std::string &type)
Get a floating-point value from a child element.
Namespace for the Cantera kernel.
Header file for class ThermoPhase, the base class for phases with thermodynamic properties, and the text for the Module thermoprops (see Thermodynamic Properties and class ThermoPhase).
virtual void setDensity(const doublereal density_)
Set the internally stored density (kg/m^3) of the phase.