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:
Harry Moffat 2009-12-22 22:35:30 +00:00
parent acf0c3f7c3
commit 2ee8ae220d

View file

@ -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;
}