From 0b1a978fcf2cf3c343b58656cc0bf3691fd110f4 Mon Sep 17 00:00:00 2001 From: Ian Bell Date: Tue, 9 Dec 2014 22:27:03 -0500 Subject: [PATCH] Temporarily disable PHI0 until discrepancies can be resolved Signed-off-by: Ian Bell --- src/Backends/REFPROP/REFPROPMixtureBackend.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Backends/REFPROP/REFPROPMixtureBackend.cpp b/src/Backends/REFPROP/REFPROPMixtureBackend.cpp index da605015..ab944f1b 100644 --- a/src/Backends/REFPROP/REFPROPMixtureBackend.cpp +++ b/src/Backends/REFPROP/REFPROPMixtureBackend.cpp @@ -1410,8 +1410,8 @@ long double REFPROPMixtureBackend::call_phixdll(long itau, long idel) } long double REFPROPMixtureBackend::call_phi0dll(long itau, long idel) { + throw ValueError("Temporarily the PHI0dll function is not available for REFPROP"); double val = 0, tau = _tau, delta = _delta, __T = T(), __rho = rhomolar()/1000; - double dT_dtau; if (PHI0dll == NULL){throw ValueError("PHI0dll function is not available in your version of REFPROP. Please upgrade");} PHI0dll(&itau, &idel, &__T, &__rho, &(mole_fractions[0]), &val); return static_cast(val)/pow(delta,idel)/pow(tau,itau);