14 #ifndef CT_MOLARITYIONICVPSSTP_H 15 #define CT_MOLARITYIONICVPSSTP_H 81 virtual std::string
type()
const {
82 return "MolarityIonic";
182 virtual std::string
report(
bool show_thermo=
true,
183 doublereal threshold=1e-14)
const;
247 std::vector<size_t> anionList_;
249 std::vector<size_t> passThroughList_;
250 size_t neutralPBindexStart;
255 #define PBTYPE_PASSTHROUGH 0 256 #define PBTYPE_SINGLEANION 1 257 #define PBTYPE_SINGLECATION 2 258 #define PBTYPE_MULTICATIONANION 3 virtual void getPartialMolarVolumes(doublereal *vbar) const
Return an array of partial molar volumes for the species in the mixture.
virtual void calcPseudoBinaryMoleFractions() const
Calculate pseudo binary mole fractions.
void s_update_dlnActCoeff_dT() const
Update the derivative of the log of the activity coefficients wrt T.
void readXMLBinarySpecies(XML_Node &xmlBinarySpecies)
Process an XML node called "binaryNeutralSpeciesParameters".
Class XML_Node is a tree-based representation of the contents of an XML file.
std::vector< size_t > cationList_
Vector of cation indices in the mixture.
void s_update_lnActCoeff() const
Update the activity coefficients.
virtual void getPartialMolarEntropies(doublereal *sbar) const
Returns an array of partial molar entropies for the species in the mixture.
virtual void getChemPotentials(doublereal *mu) const
Get the species chemical potentials. Units: J/kmol.
virtual void initThermoXML(XML_Node &phaseNode, const std::string &id)
Import and initialize a ThermoPhase object using an XML tree.
virtual void initThermo()
Header for intermediate ThermoPhase object for phases which employ Gibbs excess free energy based for...
virtual std::string type() const
String indicating the thermodynamic model implemented.
void initLengths()
Initialize lengths of local variables after all species have been identified.
void s_update_dlnActCoeff_dX_() const
Internal routine that calculates the derivative of the activity coefficients wrt the mole fractions...
virtual void getLnActivityCoefficients(doublereal *lnac) const
Get the array of non-dimensional molar-based ln activity coefficients at the current solution tempera...
virtual void getPartialMolarCp(doublereal *cpbar) const
Returns an array of partial molar entropies for the species in the mixture.
std::vector< double > vector_fp
Turn on the use of stl vectors for the basic array type within cantera Vector of doubles.
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
virtual void getPartialMolarEnthalpies(doublereal *hbar) const
Returns an array of partial molar enthalpies for the species in the mixture.
size_t numPBSpecies_
Number of pseudo binary species.
Namespace for the Cantera kernel.