From 7689f80a7f35db89a6110207c434307c271337ed Mon Sep 17 00:00:00 2001 From: Tor Harald Sandve Date: Tue, 8 Dec 2015 16:10:29 +0100 Subject: [PATCH] Add method to access the materialLawManager --- opm/core/props/satfunc/SaturationPropsFromDeck.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/opm/core/props/satfunc/SaturationPropsFromDeck.hpp b/opm/core/props/satfunc/SaturationPropsFromDeck.hpp index 127700fd..b2c211e6 100644 --- a/opm/core/props/satfunc/SaturationPropsFromDeck.hpp +++ b/opm/core/props/satfunc/SaturationPropsFromDeck.hpp @@ -129,6 +129,10 @@ namespace Opm const double pcow, double & swat); + /// Returns a reference to the MaterialLawManager + const MaterialLawManager& materialLawManager() const { return *materialLawManager_; } + + private: std::shared_ptr materialLawManager_; PhaseUsage phaseUsage_;