From de1e2480f883640ec291e7b912c455afcb9376d7 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Tue, 7 Jan 2025 10:40:18 +0100 Subject: [PATCH] replace typedefs with type aliases --- opm/simulators/wells/BlackoilWellModel.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/opm/simulators/wells/BlackoilWellModel.hpp b/opm/simulators/wells/BlackoilWellModel.hpp index a13874990..c5b665ff6 100644 --- a/opm/simulators/wells/BlackoilWellModel.hpp +++ b/opm/simulators/wells/BlackoilWellModel.hpp @@ -118,13 +118,13 @@ template class WellContributions; // TODO: where we should put these types, WellInterface or Well Model? // or there is some other strategy, like TypeTag - typedef Dune::FieldVector VectorBlockType; - typedef Dune::BlockVector BVector; + using VectorBlockType = Dune::FieldVector; + using BVector = Dune::BlockVector; - typedef BlackOilPolymerModule PolymerModule; - typedef BlackOilMICPModule MICPModule; + using PolymerModule = BlackOilPolymerModule; + using MICPModule = BlackOilMICPModule; - // For the conversion between the surface volume rate and resrevoir voidage rate + // For the conversion between the surface volume rate and reservoir voidage rate using RateConverterType = RateConverter:: SurfaceToReservoirVoidage >;