mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
MultisegmentWell: make updateWellState non-const
this will obviously update state
This commit is contained in:
parent
4827de23ce
commit
10a671e88c
@ -185,7 +185,7 @@ namespace Opm
|
||||
void updateWellState(const BVectorWell& dwells,
|
||||
WellState& well_state,
|
||||
DeferredLogger& deferred_logger,
|
||||
const double relaxation_factor=1.0) const;
|
||||
const double relaxation_factor = 1.0);
|
||||
|
||||
|
||||
// computing the accumulation term for later use in well mass equations
|
||||
|
@ -610,7 +610,7 @@ namespace Opm
|
||||
updateWellState(const BVectorWell& dwells,
|
||||
WellState& well_state,
|
||||
DeferredLogger& deferred_logger,
|
||||
const double relaxation_factor) const
|
||||
const double relaxation_factor)
|
||||
{
|
||||
if (!this->isOperableAndSolvable() && !this->wellIsStopped()) return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user