28 string type()
const override {
29 return "electron-cloud";
63 for (
size_t n = 0; n <
nSpecies(); n++) {
69 for (
size_t n = 0; n <
nSpecies(); n++) {
75 for (
size_t n = 0; n <
nSpecies(); n++) {
81 for (
size_t n = 0; n <
nSpecies(); n++) {
87 for (
size_t n = 0; n <
nSpecies(); n++) {
92 for (
size_t n = 0; n <
nSpecies(); n++) {
110 if (
m_input.hasKey(
"density")) {
117 phaseNode[
"density"].setQuantity(
density(),
"kg/m^3");
Header file for class ThermoPhase, the base class for phases with thermodynamic properties,...
A map of string keys to values whose type can vary at runtime.
void assignDensity(const double density_)
Set the internally stored constant density (kg/m^3) of the phase.
size_t nSpecies() const
Returns the number of species in the phase.
virtual double density() const
Density (kg/m^3).
virtual double molarVolume() const
Molar volume (m^3/kmol).
virtual void getParameters(AnyMap &phaseNode) const
Store the parameters of a ThermoPhase object such that an identical one could be reconstructed using ...
ThermoPhase()=default
Constructor.
AnyMap m_input
Data supplied via setParameters.
A representation of the units associated with a dimensional quantity.
Namespace for the Cantera kernel.