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();