mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-01-22 12:28:04 -05:00
Rename flash routine to reflect its current handling of inputs
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user