From 4e87cd8befbe42bdd54e030afdc885cbb48382c6 Mon Sep 17 00:00:00 2001 From: Ian Bell Date: Sat, 1 Aug 2015 22:59:59 -0600 Subject: [PATCH] Rename flash routine to reflect its current handling of inputs --- src/Backends/Helmholtz/FlashRoutines.cpp | 2 +- src/Backends/Helmholtz/FlashRoutines.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Backends/Helmholtz/FlashRoutines.cpp b/src/Backends/Helmholtz/FlashRoutines.cpp index 25b513ff..4db246a7 100644 --- a/src/Backends/Helmholtz/FlashRoutines.cpp +++ b/src/Backends/Helmholtz/FlashRoutines.cpp @@ -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 diff --git a/src/Backends/Helmholtz/FlashRoutines.h b/src/Backends/Helmholtz/FlashRoutines.h index 6bb0ba78..ce8f4f4c 100644 --- a/src/Backends/Helmholtz/FlashRoutines.h +++ b/src/Backends/Helmholtz/FlashRoutines.h @@ -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