Add a note about the state setters to PureFluidPhase
This commit is contained in:
parent
bff8d10609
commit
02f0e273d9
1 changed files with 5 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue