33 GibbsExcessVPSSTP::GibbsExcessVPSSTP() :
36 lnActCoeff_Scaled_(0),
37 dlnActCoeffdT_Scaled_(0),
38 d2lnActCoeffdT2_Scaled_(0),
39 dlnActCoeffdlnN_diag_(0),
40 dlnActCoeffdlnX_diag_(0),
41 dlnActCoeffdlnN_(0,0),
55 lnActCoeff_Scaled_(0),
56 dlnActCoeffdT_Scaled_(0),
57 d2lnActCoeffdT2_Scaled_(0),
58 dlnActCoeffdlnN_diag_(0),
59 dlnActCoeffdlnX_diag_(0),
60 dlnActCoeffdlnN_(0,0),
188 doublereal* vbar = NULL;
189 vbar =
new doublereal[
m_kk];
193 doublereal vtotal = 0.0;
194 for (
size_t i = 0; i <
m_kk; i++) {
246 for (
size_t k = 0; k <
m_kk; k++) {
257 for (
size_t k = 0; k <
m_kk; k++) {
260 }
else if (ac[k] < -700.) {
273 for (
size_t k = 0; k <
m_kk; k++) {
304 throw CanteraError(
"GibbsExcessVPSSTP",
"Base class method "
313 doublereal norm = accumulate(x, x +
m_kk, 0.0);
314 if (fabs(norm - 1.0) > 1.0E-9) {
316 "(MF sum - 1) exceeded tolerance of 1.0E-9:" +
fp2str(norm));
345 for (
int i = 0; i < sizeUA; i++) {