Add a note about the state setters to PureFluidPhase

This commit is contained in:
Bryan W. Weber 2016-01-22 17:23:35 -05:00
parent bff8d10609
commit 02f0e273d9

View file

@ -284,6 +284,11 @@ doublereal PureFluidPhase::satTemperature(doublereal p) const
return m_sub->Tsat(p);
}
/* The next several functions set the state. They run the Substance::Set
* function, followed by setting the state of the ThermoPhase object
* to the newly computed temperature and density of the Substance.
*/
void PureFluidPhase::setState_HP(double h, double p, double tol)
{
Set(tpx::PropertyPair::HP, h, p);