12#ifndef CT_PDSS_IONSFROMNEUTRAL_H
13#define CT_PDSS_IONSFROMNEUTRAL_H
66 double cp_R()
const override;
68 double density()
const override;
84 void setState_TP(
double temp,
double pres)
override;
92 void setNeutralSpeciesMultiplier(
const string& species,
double mult);
93 void setSpecialSpecies(
bool special=
true);
102 map<string, double> neutralSpeciesMultipliers_;
Declarations for the virtual base class PDSS (pressure dependent standard state) which handles calcul...
A map of string keys to values whose type can vary at runtime.
Derived class for pressure dependent standard states of an ideal gas species.
double molarVolume() const override
Return the molar volume at standard state.
void setParent(VPStandardStateTP *phase, size_t k) override
Set the parent VPStandardStateTP object of this PDSS object.
PDSS_IonsFromNeutral()
Default constructor.
double gibbs_RT_ref() const override
Return the molar Gibbs free energy divided by RT at reference pressure.
size_t numMult_
Number of neutral molecule species that make up the stoichiometric vector for this species,...
double cp_R() const override
Return the molar const pressure heat capacity divided by RT.
void initThermo() override
Initialization routine.
vector< double > tmpNM
Vector of length equal to the number of species in the neutral molecule phase.
vector< size_t > idNeutralMoleculeVec
Vector of species indices in the neutral molecule ThermoPhase.
double entropy_R_ref() const override
Return the molar entropy divided by R at reference pressure.
double enthalpy_RT_ref() const override
Return the molar enthalpy divided by RT at reference pressure.
void getParameters(AnyMap &eosNode) const override
Store the parameters needed to reconstruct a copy of this PDSS object.
double intEnergy_mole() const override
Return the molar internal Energy in units of J kmol-1.
shared_ptr< ThermoPhase > neutralMoleculePhase_
Pointer to the Neutral Molecule ThermoPhase object.
void setState_TP(double temp, double pres) override
Set the internal temperature and pressure.
double entropy_R() const override
Return the standard state entropy divided by RT.
double enthalpy_RT() const override
Return the standard state molar enthalpy divided by RT.
double density() const override
Return the standard state density at standard state.
bool add2RTln2_
Add 2RTln2 to the entropy and Gibbs free energies for this species.
double molarVolume_ref() const override
Return the molar volume at reference pressure.
double gibbs_RT() const override
Return the molar Gibbs free energy divided by RT.
vector< double > factorVec
Stoichiometric coefficient for this species using the Neutral Molecule Species in the vector idNeutra...
double cp_R_ref() const override
Return the molar heat capacity divided by R at reference pressure.
Base class for PDSS classes which compute nondimensional properties directly.
This is a filter class for ThermoPhase that implements some preparatory steps for efficiently handlin...
Namespace for the Cantera kernel.