Rename flash routine to reflect its current handling of inputs

This commit is contained in:
Ian Bell
2015-08-01 22:59:59 -06:00
parent 39cb12054a
commit 4e87cd8bef
2 changed files with 2 additions and 2 deletions

View File

@@ -830,7 +830,7 @@ void FlashRoutines::HSU_D_flash_twophase(HelmholtzEOSMixtureBackend &HEOS, CoolP
HEOS.update(QT_INPUTS, resid.Qd, HEOS.T());
}
// D given and one of P,H,S,U
void FlashRoutines::PHSU_D_flash(HelmholtzEOSMixtureBackend &HEOS, parameters other)
void FlashRoutines::HSU_D_flash(HelmholtzEOSMixtureBackend &HEOS, parameters other)
{
// Define the residual to be driven to zero
class solver_resid : public FuncWrapper1DWithTwoDerivs

View File

@@ -116,7 +116,7 @@ public:
/// A generic flash routine for the pairs (D,P), (D,H), (D,S), and (D,U). Similar analysis is needed
/// @param HEOS The HelmholtzEOSMixtureBackend to be used
/// @param other The index for the other input from CoolProp::parameters; allowed values are iP, iHmolar, iSmolar, iUmolar
static void PHSU_D_flash(HelmholtzEOSMixtureBackend &HEOS, parameters other);
static void HSU_D_flash(HelmholtzEOSMixtureBackend &HEOS, parameters other);
/// A flash routine for (H,S)
/// @param HEOS The HelmholtzEOSMixtureBackend to be used