19 #ifndef CT_PSEUDOBINARYVPSSTP_H
20 #define CT_PSEUDOBINARYVPSSTP_H
184 virtual std::string
report(
bool show_thermo=
true,
185 doublereal threshold=1e-14)
const;
201 mutable std::vector<doublereal> PBMoleFractions_;
203 std::vector<int> cationList_;
204 size_t numCationSpecies_;
206 std::vector<int>anionList_;
207 size_t numAnionSpecies_;
209 std::vector<int> passThroughList_;
210 size_t numPassThroughSpecies_;
211 size_t neutralPBindexStart;
217 mutable std::vector<doublereal> moleFractionsTmp_;
220 #define PBTYPE_PASSTHROUGH 0
221 #define PBTYPE_SINGLEANION 1
222 #define PBTYPE_SINGLECATION 2
223 #define PBTYPE_MULTICATIONANION 3
virtual doublereal standardConcentration(size_t k=0) const
The standard concentration used to normalize the generalized concentration.
PseudoBinaryVPSSTP & operator=(const PseudoBinaryVPSSTP &b)
Assignment operator.
void initThermoXML(XML_Node &phaseNode, const std::string &id)
Import and initialize a ThermoPhase object.
PseudoBinaryVPSSTP()
Constructor.
void initLengths()
Initialize lengths of local variables after all species have been identified.
size_t numPBSpecies_
Number of pseudo binary species.
Class XML_Node is a tree-based representation of the contents of an XML file.
virtual ThermoPhase * duplMyselfAsThermoPhase() const
Duplication routine for objects which inherit from ThermoPhase.
Base class for a phase with thermodynamic properties.
void getElectrochemPotentials(doublereal *mu) const
Get the species electrochemical potentials.
virtual void calcPseudoBinaryMoleFractions() const
Calculate pseudo binary mole fractions.
Header for intermediate ThermoPhase object for phases which employ Gibbs excess free energy based for...
size_t indexSpecialSpecies_
index of special species
virtual void initThermo()
virtual std::string report(bool show_thermo=true, doublereal threshold=1e-14) const
returns a summary of the state of the phase as a string