WellInterface: make recoverWellSolutionAndUpdateWellState non-const

this will obviously modify well state
This commit is contained in:
Arne Morten Kvarving
2022-11-09 13:01:30 +01:00
parent 147f0eb2bd
commit fba6249dd8
5 changed files with 9 additions and 9 deletions

View File

@@ -159,9 +159,9 @@ namespace Opm
/// using the solution x to recover the solution xw for wells and applying
/// xw to update Well State
virtual void recoverWellSolutionAndUpdateWellState(const BVector& x,
WellState& well_state,
DeferredLogger& deferred_logger) const override;
void recoverWellSolutionAndUpdateWellState(const BVector& x,
WellState& well_state,
DeferredLogger& deferred_logger) override;
/// computing the well potentials for group control
virtual void computeWellPotentials(const Simulator& ebosSimulator,