mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #1832 from GitPaean/upding_well_control_inner_msw
updating well control during iterateWellEquations in MSW
This commit is contained in:
commit
8197bcfc54
@ -1853,6 +1853,9 @@ namespace Opm
|
||||
|
||||
updateWellState(dx_well, well_state, deferred_logger, relaxation_factor);
|
||||
|
||||
// TODO: should we do something more if a switching of control happens
|
||||
this->updateWellControl(ebosSimulator, well_state, deferred_logger);
|
||||
|
||||
initPrimaryVariablesEvaluation();
|
||||
}
|
||||
|
||||
|
@ -190,7 +190,7 @@ namespace Opm
|
||||
WellState& well_state,
|
||||
Opm::DeferredLogger& deferred_logger) const = 0;
|
||||
|
||||
void updateWellControl(/* const */ Simulator& ebos_simulator,
|
||||
void updateWellControl(const Simulator& ebos_simulator,
|
||||
WellState& well_state,
|
||||
Opm::DeferredLogger& deferred_logger) /* const */;
|
||||
|
||||
|
@ -430,7 +430,7 @@ namespace Opm
|
||||
template<typename TypeTag>
|
||||
void
|
||||
WellInterface<TypeTag>::
|
||||
updateWellControl(/* const */ Simulator& ebos_simulator,
|
||||
updateWellControl(const Simulator& ebos_simulator,
|
||||
WellState& well_state,
|
||||
Opm::DeferredLogger& deferred_logger) /* const */
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user