From 8e6e1c3d5ea0dbf9dc0ae197a450976db7d2d99a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Atgeirr=20Fl=C3=B8=20Rasmussen?= Date: Thu, 3 Jun 2021 13:02:31 +0200 Subject: [PATCH] Remove unused PhaseUsage data member. --- opm/simulators/wells/BlackoilWellModel_impl.hpp | 1 - opm/simulators/wells/GasLiftStage2.cpp | 2 -- opm/simulators/wells/GasLiftStage2.hpp | 2 -- 3 files changed, 5 deletions(-) diff --git a/opm/simulators/wells/BlackoilWellModel_impl.hpp b/opm/simulators/wells/BlackoilWellModel_impl.hpp index da495f39e..67c07cba9 100644 --- a/opm/simulators/wells/BlackoilWellModel_impl.hpp +++ b/opm/simulators/wells/BlackoilWellModel_impl.hpp @@ -1110,7 +1110,6 @@ namespace Opm { GasLiftStage2 glift {this->ebosSimulator_.episodeIndex(), this->ebosSimulator_.vanguard().grid().comm(), - this->phaseUsage(), ebosSimulator_.vanguard().schedule(), ebosSimulator_.vanguard().summaryState(), deferred_logger, this->wellState(), diff --git a/opm/simulators/wells/GasLiftStage2.cpp b/opm/simulators/wells/GasLiftStage2.cpp index 6fd56379f..4c96cc812 100644 --- a/opm/simulators/wells/GasLiftStage2.cpp +++ b/opm/simulators/wells/GasLiftStage2.cpp @@ -40,7 +40,6 @@ namespace Opm { GasLiftStage2::GasLiftStage2( const int report_step_idx, const Communication& comm, - const PhaseUsage& phase_usage, const Schedule& schedule, const SummaryState& summary_state, DeferredLogger &deferred_logger, @@ -57,7 +56,6 @@ GasLiftStage2::GasLiftStage2( report_step_idx_{report_step_idx}, summary_state_{summary_state}, schedule_{schedule}, - phase_usage_{phase_usage}, glo_{schedule_.glo(report_step_idx_)}, comm_{comm}, debug_{false} diff --git a/opm/simulators/wells/GasLiftStage2.hpp b/opm/simulators/wells/GasLiftStage2.hpp index 0cf5a5d31..d7f261e8b 100644 --- a/opm/simulators/wells/GasLiftStage2.hpp +++ b/opm/simulators/wells/GasLiftStage2.hpp @@ -67,7 +67,6 @@ class WellState; GasLiftStage2( const int report_step_idx, const Communication& comm, - const PhaseUsage& phase_usage, const Schedule& schedule, const SummaryState& summary_state, DeferredLogger &deferred_logger, @@ -136,7 +135,6 @@ class WellState; int report_step_idx_; const SummaryState &summary_state_; const Schedule &schedule_; - const PhaseUsage &phase_usage_; const GasLiftOpt& glo_; const Communication &comm_; GradMap inc_grads_;