32 g += molesSp[kspec] * chemPot[kspec];
40 const double*
const fe)
43 double phaseMols = 0.0;
46 g += w[kspec] * fe[kspec];
47 phaseMols += w[kspec];
size_t m_numPhases
Number of Phases in the problem.
vector_int m_speciesUnknownType
Specifies the species unknown type.
double vcs_Total_Gibbs(double *w, double *fe, double *tPhMoles)
Calculate the total dimensionless Gibbs free energy.
size_t m_numSpeciesRdc
Current number of species in the problems.
vector_fp TPhInertMoles
Total kmoles of inert to add to each phase.
std::vector< size_t > m_phaseID
Mapping from the species number to the phase number.
double vcs_GibbsPhase(size_t iphase, const double *const w, const double *const fe)
Calculate the total dimensionless Gibbs free energy of a single phase.
double m_pressurePA
Pressure.
std::vector< std::unique_ptr< vcs_VolPhase > > m_VolPhaseList
Array of Phase Structures. Length = number of phases.
Phase information and Phase calculations for vcs.
bool m_gasPhase
If true, this phase is a gas-phase like phase.
Namespace for the Cantera kernel.
Header for the object representing each phase within vcs.
#define VCS_SPECIES_TYPE_INTERFACIALVOLTAGE
Unknown refers to the voltage level of a phase.
Header file for the internal object that holds the vcs equilibrium problem (see Class VCS_SOLVE and E...