13 #ifndef CT_PDSS_IONSFROMNEUTRAL_H
14 #define CT_PDSS_IONSFROMNEUTRAL_H
54 const std::string& inputFile,
const std::string&
id =
"");
69 const XML_Node& phaseRef,
bool spInstalled);
109 virtual doublereal
gibbs_RT()
const;
110 virtual doublereal
cp_R()
const;
112 virtual doublereal
density()
const;
121 virtual doublereal
cp_R_ref()
const;
130 virtual void setState_TP(doublereal temp, doublereal pres);
131 virtual void setState_TR(doublereal temp, doublereal rho);
154 const std::string& inputFile,
const std::string&
id);
182 const XML_Node& phaseNode,
const std::string&
id);
std::vector< size_t > idNeutralMoleculeVec
Vector of species indices in the neutral molecule ThermoPhase.
size_t numMult_
Number of neutral molecule species that make up the stoichiometric vector for this species...
Derived class for pressure dependent standard states of an ideal gas species.
Virtual base class for the classes that manage the calculation of standard state properties for all t...
virtual void setState_TP(doublereal temp, doublereal pres)
Set the internal temperature and pressure.
Class XML_Node is a tree-based representation of the contents of an XML file.
virtual void setTemperature(doublereal temp)
Set the internal temperature.
virtual void setState_TR(doublereal temp, doublereal rho)
Set the internal temperature and density.
virtual doublereal enthalpy_RT_ref() const
Return the molar enthalpy divided by RT at reference pressure.
virtual doublereal molarVolume() const
Return the molar volume at standard state.
virtual doublereal intEnergy_mole() const
Return the molar internal Energy in units of J kmol-1.
virtual doublereal density() const
Return the standard state density at standard state.
virtual void initAllPtrs(VPStandardStateTP *vptp_ptr, VPSSMgr *vpssmgr_ptr, SpeciesThermo *spthermo_ptr)
Initialize or Reinitialize all shallow pointers in the object.
Pure Virtual base class for the species thermo manager classes.
std::vector< double > factorVec
Stoichiometric coefficient for this species using the Neutral Molecule Species in the vector idNeutra...
Base class for a phase with thermodynamic properties.
virtual doublereal entropy_R() const
Return the standard state entropy divided by RT.
Declarations for the virtual base class PDSS (pressure dependent standard state) which handles calcul...
Base class for PDSS classes which compute nondimensional properties directly.
void constructPDSSFile(VPStandardStateTP *vptp_ptr, size_t spindex, const std::string &inputFile, const std::string &id)
Initialization of a PDSS object using an input XML file.
void constructPDSSXML(VPStandardStateTP *vptp_ptr, size_t spindex, const XML_Node &speciesNode, const XML_Node &phaseNode, const std::string &id)
Initialization of a PDSS object using an XML tree.
virtual doublereal molarVolume_ref() const
Return the molar volume at reference pressure.
virtual doublereal cp_R() const
Return the molar const pressure heat capacity divided by RT.
virtual doublereal cp_R_ref() const
Return the molar heat capacity divided by R at reference pressure.
virtual doublereal entropy_R_ref() const
Return the molar entropy divided by R at reference pressure.
This is a filter class for ThermoPhase that implements some prepatory steps for efficiently handling ...
PDSS_IonsFromNeutral(VPStandardStateTP *tp, size_t spindex)
Constructor.
virtual doublereal enthalpy_RT() const
Return the standard state molar enthalpy divided by RT.
const ThermoPhase * neutralMoleculePhase_
Pointer to the Neutral Molecule ThermoPhase object.
virtual doublereal gibbs_RT_ref() const
Return the molar Gibbs free energy divided by RT at reference pressure.
PDSS_IonsFromNeutral & operator=(const PDSS_IonsFromNeutral &b)
Assignment operator.
virtual void initThermo()
Initialization routine for all of the shallow pointers.
Virtual base class for a species with a pressure dependent standard state.
std::vector< double > tmpNM
Vector of length equal to the number of species in the neutral molecule phase.
virtual doublereal temperature() const
Return the current stored temperature.
virtual PDSS * duplMyselfAsPDSS() const
Duplication routine for objects which inherit from PDSS.
bool add2RTln2_
Add 2RTln2 to the entropy and Gibbs free energies for this species.
virtual doublereal gibbs_RT() const
Return the molar Gibbs free energy divided by RT.
int specialSpecies_
True if this species is the special species.