GasLiftStage2: remove unused simulator param

This commit is contained in:
Arne Morten Kvarving 2021-05-23 13:47:04 +02:00
parent 09ec1e4088
commit 168fc070e9
3 changed files with 5 additions and 6 deletions

View File

@ -1108,10 +1108,10 @@ namespace Opm {
GLiftWellStateMap &glift_well_state_map)
{
GasLiftStage2 glift {this->ebosSimulator_.vanguard().grid().comm(),
GasLiftStage2 glift {this->ebosSimulator_.episodeIndex(),
this->ebosSimulator_.vanguard().grid().comm(),
this->phaseUsage(),
ebosSimulator_.vanguard().schedule(),
ebosSimulator_,
ebosSimulator_.vanguard().summaryState(),
deferred_logger, this->wellState(),
prod_wells, glift_wells, glift_well_state_map};

View File

@ -51,7 +51,6 @@ namespace Opm
{
template<class TypeTag>
class GasLiftStage2 {
using Simulator = GetPropType<TypeTag, Properties::Simulator>;
using GasLiftSingleWell = ::Opm::GasLiftSingleWell<TypeTag>;
using GLiftOptWells = std::map<std::string,std::unique_ptr<GasLiftSingleWell>>;
using GLiftProdWells = std::map<std::string,const WellInterface<TypeTag> *>;
@ -71,10 +70,10 @@ namespace Opm
static const int Gas = BlackoilPhases::Vapour;
public:
GasLiftStage2(
const int report_step_idx,
const Communication& comm,
const PhaseUsage& phase_usage,
const Schedule& schedule,
const Simulator &ebos_simulator,
const SummaryState& summary_state,
DeferredLogger &deferred_logger,
WellState &well_state,

View File

@ -36,10 +36,10 @@ namespace Opm {
template<typename TypeTag>
GasLiftStage2<TypeTag>::
GasLiftStage2(
const int report_step_idx,
const Communication& comm,
const PhaseUsage& phase_usage,
const Schedule& schedule,
const Simulator &ebos_simulator,
const SummaryState& summary_state,
DeferredLogger &deferred_logger,
WellState &well_state,
@ -52,7 +52,7 @@ GasLiftStage2(
prod_wells_{prod_wells},
stage1_wells_{glift_wells},
well_state_map_{state_map},
report_step_idx_{ebos_simulator.episodeIndex()},
report_step_idx_{report_step_idx},
summary_state_{summary_state},
schedule_{schedule},
phase_usage_{phase_usage},