From 22f909d9c28cb29dee350ada92eed91edef664df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A5rd=20Skaflestad?= Date: Thu, 5 Jan 2012 13:12:27 +0100 Subject: [PATCH] Implement numPhases() to fix link errors. --- opm/core/fluid/blackoil/BlackoilPvtProperties.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/opm/core/fluid/blackoil/BlackoilPvtProperties.cpp b/opm/core/fluid/blackoil/BlackoilPvtProperties.cpp index e72b55a1..348be28b 100644 --- a/opm/core/fluid/blackoil/BlackoilPvtProperties.cpp +++ b/opm/core/fluid/blackoil/BlackoilPvtProperties.cpp @@ -110,6 +110,12 @@ namespace Opm } + int BlackoilPvtProperties::numPhases() const + { + return phase_usage_.num_phases; + } + + void BlackoilPvtProperties::mu(const int n, const double* p, const double* z,