From 9758cd4f92c5471819f411c125d878346176dcc3 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Wed, 12 May 2021 09:06:37 +0200 Subject: [PATCH] replace typedefs with using statements --- opm/simulators/wells/WellInterface.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/opm/simulators/wells/WellInterface.hpp b/opm/simulators/wells/WellInterface.hpp index 59142e5eb..ef23a1fa9 100644 --- a/opm/simulators/wells/WellInterface.hpp +++ b/opm/simulators/wells/WellInterface.hpp @@ -76,7 +76,7 @@ namespace Opm using WellState = WellStateFullyImplicitBlackoil; - typedef BlackoilModelParametersEbos ModelParameters; + using ModelParameters = BlackoilModelParametersEbos; static const int Water = BlackoilPhases::Aqua; static const int Oil = BlackoilPhases::Liquid; @@ -100,10 +100,10 @@ namespace Opm static const int numPhases = Indices::numPhases; using Scalar = GetPropType; - typedef Dune::FieldVector VectorBlockType; - typedef Dune::FieldMatrix MatrixBlockType; - typedef Dune::BlockVector BVector; - typedef DenseAd::Evaluation Eval; + using VectorBlockType = Dune::FieldVector; + using MatrixBlockType = Dune::FieldMatrix; + using BVector = Dune::BlockVector; + using Eval = DenseAd::Evaluation; static constexpr bool has_solvent = getPropValue(); static constexpr bool has_zFraction = getPropValue();