mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
MultisegmentWell: make processFractions non-const
this updates state
This commit is contained in:
parent
6b61af21b3
commit
ac91db281a
@ -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;
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user