From 9a7eac187453d6d475579c6f376cbcdca3ef19f3 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Thu, 6 Feb 2020 10:31:33 +0100 Subject: [PATCH] some cleanups in ConstantCompressibilityBrinePvt --- .../blackoilpvt/ConstantCompressibilityBrinePvt.hpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/opm/material/fluidsystems/blackoilpvt/ConstantCompressibilityBrinePvt.hpp b/opm/material/fluidsystems/blackoilpvt/ConstantCompressibilityBrinePvt.hpp index a8f543033..6b40a295e 100644 --- a/opm/material/fluidsystems/blackoilpvt/ConstantCompressibilityBrinePvt.hpp +++ b/opm/material/fluidsystems/blackoilpvt/ConstantCompressibilityBrinePvt.hpp @@ -50,11 +50,9 @@ class WaterPvtMultiplexer; template class ConstantCompressibilityBrinePvt { - typedef Opm::Tabulated1DFunction TabulatedOneDFunction; - typedef typename Opm::Tabulated1DFunction TabulatedFunction; - typedef std::vector > SamplingPoints; - public: + typedef typename Opm::Tabulated1DFunction TabulatedFunction; + ConstantCompressibilityBrinePvt() = default; ConstantCompressibilityBrinePvt(const std::vector& waterReferenceDensity, const std::vector& referencePressure, @@ -238,12 +236,12 @@ public: } private: + std::vector waterReferenceDensity_; + std::vector referencePressure_; std::vector formationVolumeTables_; std::vector compressibilityTables_; std::vector viscosityTables_; std::vector viscosibilityTables_; - std::vector referencePressure_; - std::vector waterReferenceDensity_; };