19 #ifndef CT_PSEUDOBINARYVPSSTP_H
20 #define CT_PSEUDOBINARYVPSSTP_H
210 virtual std::string
report(
bool show_thermo =
true)
const;
223 doublereal
err(
const std::string& msg)
const;
234 mutable std::vector<doublereal> PBMoleFractions_;
236 std::vector<int> cationList_;
237 size_t numCationSpecies_;
239 std::vector<int>anionList_;
240 size_t numAnionSpecies_;
242 std::vector<int> passThroughList_;
243 size_t numPassThroughSpecies_;
244 size_t neutralPBindexStart;
250 mutable std::vector<doublereal> moleFractionsTmp_;
253 #define PBTYPE_PASSTHROUGH 0
254 #define PBTYPE_SINGLEANION 1
255 #define PBTYPE_SINGLECATION 2
256 #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.
virtual std::string report(bool show_thermo=true) const
returns a summary of the state of the phase as a string
virtual int eosType() const
Equation of state type flag.
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.
virtual doublereal logStandardConc(size_t k=0) const
Returns the natural logarithm of the standard concentration of the kth species.
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...
doublereal err(const std::string &msg) const
Error function.
size_t indexSpecialSpecies_
index of special species
virtual void initThermo()