mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-16 01:31:59 -06:00
GasLiftStage2: remove unused simulator param
This commit is contained in:
parent
09ec1e4088
commit
168fc070e9
@ -1108,10 +1108,10 @@ namespace Opm {
|
|||||||
GLiftWellStateMap &glift_well_state_map)
|
GLiftWellStateMap &glift_well_state_map)
|
||||||
{
|
{
|
||||||
|
|
||||||
GasLiftStage2 glift {this->ebosSimulator_.vanguard().grid().comm(),
|
GasLiftStage2 glift {this->ebosSimulator_.episodeIndex(),
|
||||||
|
this->ebosSimulator_.vanguard().grid().comm(),
|
||||||
this->phaseUsage(),
|
this->phaseUsage(),
|
||||||
ebosSimulator_.vanguard().schedule(),
|
ebosSimulator_.vanguard().schedule(),
|
||||||
ebosSimulator_,
|
|
||||||
ebosSimulator_.vanguard().summaryState(),
|
ebosSimulator_.vanguard().summaryState(),
|
||||||
deferred_logger, this->wellState(),
|
deferred_logger, this->wellState(),
|
||||||
prod_wells, glift_wells, glift_well_state_map};
|
prod_wells, glift_wells, glift_well_state_map};
|
||||||
|
@ -51,7 +51,6 @@ namespace Opm
|
|||||||
{
|
{
|
||||||
template<class TypeTag>
|
template<class TypeTag>
|
||||||
class GasLiftStage2 {
|
class GasLiftStage2 {
|
||||||
using Simulator = GetPropType<TypeTag, Properties::Simulator>;
|
|
||||||
using GasLiftSingleWell = ::Opm::GasLiftSingleWell<TypeTag>;
|
using GasLiftSingleWell = ::Opm::GasLiftSingleWell<TypeTag>;
|
||||||
using GLiftOptWells = std::map<std::string,std::unique_ptr<GasLiftSingleWell>>;
|
using GLiftOptWells = std::map<std::string,std::unique_ptr<GasLiftSingleWell>>;
|
||||||
using GLiftProdWells = std::map<std::string,const WellInterface<TypeTag> *>;
|
using GLiftProdWells = std::map<std::string,const WellInterface<TypeTag> *>;
|
||||||
@ -71,10 +70,10 @@ namespace Opm
|
|||||||
static const int Gas = BlackoilPhases::Vapour;
|
static const int Gas = BlackoilPhases::Vapour;
|
||||||
public:
|
public:
|
||||||
GasLiftStage2(
|
GasLiftStage2(
|
||||||
|
const int report_step_idx,
|
||||||
const Communication& comm,
|
const Communication& comm,
|
||||||
const PhaseUsage& phase_usage,
|
const PhaseUsage& phase_usage,
|
||||||
const Schedule& schedule,
|
const Schedule& schedule,
|
||||||
const Simulator &ebos_simulator,
|
|
||||||
const SummaryState& summary_state,
|
const SummaryState& summary_state,
|
||||||
DeferredLogger &deferred_logger,
|
DeferredLogger &deferred_logger,
|
||||||
WellState &well_state,
|
WellState &well_state,
|
||||||
|
@ -36,10 +36,10 @@ namespace Opm {
|
|||||||
template<typename TypeTag>
|
template<typename TypeTag>
|
||||||
GasLiftStage2<TypeTag>::
|
GasLiftStage2<TypeTag>::
|
||||||
GasLiftStage2(
|
GasLiftStage2(
|
||||||
|
const int report_step_idx,
|
||||||
const Communication& comm,
|
const Communication& comm,
|
||||||
const PhaseUsage& phase_usage,
|
const PhaseUsage& phase_usage,
|
||||||
const Schedule& schedule,
|
const Schedule& schedule,
|
||||||
const Simulator &ebos_simulator,
|
|
||||||
const SummaryState& summary_state,
|
const SummaryState& summary_state,
|
||||||
DeferredLogger &deferred_logger,
|
DeferredLogger &deferred_logger,
|
||||||
WellState &well_state,
|
WellState &well_state,
|
||||||
@ -52,7 +52,7 @@ GasLiftStage2(
|
|||||||
prod_wells_{prod_wells},
|
prod_wells_{prod_wells},
|
||||||
stage1_wells_{glift_wells},
|
stage1_wells_{glift_wells},
|
||||||
well_state_map_{state_map},
|
well_state_map_{state_map},
|
||||||
report_step_idx_{ebos_simulator.episodeIndex()},
|
report_step_idx_{report_step_idx},
|
||||||
summary_state_{summary_state},
|
summary_state_{summary_state},
|
||||||
schedule_{schedule},
|
schedule_{schedule},
|
||||||
phase_usage_{phase_usage},
|
phase_usage_{phase_usage},
|
||||||
|
Loading…
Reference in New Issue
Block a user