From 924a50abf5667a8f2b93ffe9a550ecdca0bee7d8 Mon Sep 17 00:00:00 2001 From: Ian Bell Date: Sat, 29 Nov 2014 18:39:22 -0500 Subject: [PATCH] Add is_pure function Signed-off-by: Ian Bell --- src/Backends/Helmholtz/HelmholtzEOSMixtureBackend.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Backends/Helmholtz/HelmholtzEOSMixtureBackend.h b/src/Backends/Helmholtz/HelmholtzEOSMixtureBackend.h index 2b77cb67..14a9115f 100644 --- a/src/Backends/Helmholtz/HelmholtzEOSMixtureBackend.h +++ b/src/Backends/Helmholtz/HelmholtzEOSMixtureBackend.h @@ -54,7 +54,7 @@ public: bool using_mole_fractions(){return true;} bool using_mass_fractions(){return false;} bool using_volu_fractions(){return false;} - + bool is_pure(){ return is_pure_or_pseudopure; } bool has_melting_line(){ return is_pure_or_pseudopure && components[0]->ancillaries.melting_line.enabled();}; long double calc_melting_line(int param, int given, long double value); phases calc_phase(void){return _phase;};