7 #ifndef CT_METALPHASE_H
8 #define CT_METALPHASE_H
31 *
this = operator=(right);
37 m_press = right.m_press;
81 for (
size_t n = 0; n <
nSpecies(); n++) {
87 for (
size_t n = 0; n <
nSpecies(); n++) {
93 for (
size_t n = 0; n <
nSpecies(); n++) {
99 for (
size_t n = 0; n <
nSpecies(); n++) {
105 for (
size_t n = 0; n <
nSpecies(); n++) {
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.
ThermoPhase & operator=(const ThermoPhase &right)
Assignment operator.
Class XML_Node is a tree-based representation of the contents of an XML file.
Virtual base class for the calculation of multiple-species thermodynamic reference-state property man...
doublereal getFloat(const Cantera::XML_Node &parent, const std::string &name, const std::string &type)
Get a floating-point value from a child element.
Base class for a phase with thermodynamic properties.
const int cMetal
A metal phase.
size_t nSpecies() const
Returns the number of species in the phase.
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 Note the density of a phase is an independent...