Fixed an error with the assignment and copy constructor.
The VPSSMgr object needed to be resynched with the VPStandardStateTP object after it was set up. This was not done.
This commit is contained in:
parent
acf0c3f7c3
commit
2ee8ae220d
1 changed files with 6 additions and 0 deletions
|
|
@ -110,6 +110,12 @@ namespace Cantera {
|
|||
PDSS *ptmp = b.m_PDSS_storage[k];
|
||||
ptmp->initAllPtrs(this, m_VPSS_ptr, m_spthermo);
|
||||
}
|
||||
/*
|
||||
* Ok, the VPSSMgr object is ready for business.
|
||||
* We need to resync the temperature and the pressure of the new standard states
|
||||
* with what is storred in this object.
|
||||
*/
|
||||
m_VPSS_ptr->setState_TP(m_Tlast_ss, m_Plast_ss);
|
||||
}
|
||||
return *this;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue