From 31cb01ae2404eee291a46ed07b936312a5e29835 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Thu, 20 May 2021 12:15:58 +0200 Subject: [PATCH] no reason for GasLiftWellState to be typetag dependent --- opm/simulators/wells/BlackoilWellModel.hpp | 2 +- opm/simulators/wells/GasLiftSingleWell.hpp | 4 ++-- opm/simulators/wells/GasLiftStage2.hpp | 2 +- opm/simulators/wells/GasLiftWellState.hpp | 1 - 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/opm/simulators/wells/BlackoilWellModel.hpp b/opm/simulators/wells/BlackoilWellModel.hpp index d3d0eb804..de65bed49 100644 --- a/opm/simulators/wells/BlackoilWellModel.hpp +++ b/opm/simulators/wells/BlackoilWellModel.hpp @@ -109,7 +109,7 @@ namespace Opm { typedef typename BaseAuxiliaryModule::NeighborSet NeighborSet; using GasLiftSingleWell = ::Opm::GasLiftSingleWell; using GasLiftStage2 = ::Opm::GasLiftStage2; - using GLiftWellState = ::Opm::GasLiftWellState; + using GLiftWellState = GasLiftWellState; using GLiftWellStateMap = std::map>; using GLiftOptWells = diff --git a/opm/simulators/wells/GasLiftSingleWell.hpp b/opm/simulators/wells/GasLiftSingleWell.hpp index 1526a0b36..41e580186 100644 --- a/opm/simulators/wells/GasLiftSingleWell.hpp +++ b/opm/simulators/wells/GasLiftSingleWell.hpp @@ -60,8 +60,8 @@ namespace Opm { using Simulator = GetPropType; using WellState = WellStateFullyImplicitBlackoil; - using StdWell = Opm::StandardWell; - using GLiftWellState = Opm::GasLiftWellState; + using StdWell = StandardWell; + using GLiftWellState = GasLiftWellState; // TODO: same definition with WellInterface, and // WellStateFullyImplicitBlackoil eventually they should go // to a common header file. diff --git a/opm/simulators/wells/GasLiftStage2.hpp b/opm/simulators/wells/GasLiftStage2.hpp index fceb24529..28de06887 100644 --- a/opm/simulators/wells/GasLiftStage2.hpp +++ b/opm/simulators/wells/GasLiftStage2.hpp @@ -61,7 +61,7 @@ namespace Opm using WellState = WellStateFullyImplicitBlackoil; using BlackoilWellModel = ::Opm::BlackoilWellModel; using GasLiftSingleWell = ::Opm::GasLiftSingleWell; - using GLiftWellState = ::Opm::GasLiftWellState; + using GLiftWellState = GasLiftWellState; using GLiftOptWells = typename BlackoilWellModel::GLiftOptWells; using GLiftProdWells = typename BlackoilWellModel::GLiftProdWells; using GLiftWellStateMap = typename BlackoilWellModel::GLiftWellStateMap; diff --git a/opm/simulators/wells/GasLiftWellState.hpp b/opm/simulators/wells/GasLiftWellState.hpp index 89cd6e11e..30d50c23b 100644 --- a/opm/simulators/wells/GasLiftWellState.hpp +++ b/opm/simulators/wells/GasLiftWellState.hpp @@ -27,7 +27,6 @@ namespace Opm { - template class GasLiftWellState { public: