StandardWell: make updateWellState non-const

this will obviously modify well state
This commit is contained in:
Arne Morten Kvarving
2022-11-25 13:09:29 +01:00
parent c9856b9b2a
commit 64112f76b3
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -257,7 +257,7 @@ namespace Opm
// updating the well_state based on well solution dwells
void updateWellState(const BVectorWell& dwells,
WellState& well_state,
DeferredLogger& deferred_logger) const;
DeferredLogger& deferred_logger);
// calculate the properties for the well connections
// to calulate the pressure difference between well connections.
+1 -1
View File
@@ -932,7 +932,7 @@ namespace Opm
StandardWell<TypeTag>::
updateWellState(const BVectorWell& dwells,
WellState& well_state,
DeferredLogger& deferred_logger) const
DeferredLogger& deferred_logger)
{
if (!this->isOperableAndSolvable() && !this->wellIsStopped()) return;