MultisegmentWell: make processFractions non-const

this updates state
This commit is contained in:
Arne Morten Kvarving 2022-12-16 15:05:06 +01:00
parent 6b61af21b3
commit ac91db281a
2 changed files with 2 additions and 2 deletions

View File

@ -188,7 +188,7 @@ getWellConvergence(const WellState& well_state,
template<typename FluidSystem, typename Indices, typename Scalar>
void
MultisegmentWellEval<FluidSystem,Indices,Scalar>::
processFractions(const int seg) const
processFractions(const int seg)
{
static constexpr int Water = BlackoilPhases::Aqua;
static constexpr int Oil = BlackoilPhases::Liquid;

View File

@ -132,7 +132,7 @@ protected:
const bool relax_tolerance) const;
// handling the overshooting and undershooting of the fractions
void processFractions(const int seg) const;
void processFractions(const int seg);
void updatePrimaryVariables(const WellState& well_state) const;