Added a getMoleFraction to GibbsExcess at the start of the
calculation. Want the mole fraction to be synched at all times.
This commit is contained in:
parent
788697405f
commit
6a3c7eabd4
2 changed files with 5 additions and 1 deletions
|
|
@ -332,6 +332,7 @@ namespace Cantera {
|
|||
void GibbsExcessVPSSTP::initThermo() {
|
||||
initLengths();
|
||||
VPStandardStateTP::initThermo();
|
||||
getMoleFractions(DATA_PTR(moleFractions_));
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -394,7 +394,10 @@ namespace Cantera {
|
|||
protected:
|
||||
|
||||
int m_kk;
|
||||
doublereal m_tmin, m_tmax, m_press, m_p0;
|
||||
doublereal m_tmin;
|
||||
doublereal m_tmax;
|
||||
doublereal m_press;
|
||||
doublereal m_p0;
|
||||
|
||||
mutable doublereal m_tlast;
|
||||
mutable array_fp m_h0_RT;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue