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:
@@ -188,7 +188,7 @@ getWellConvergence(const WellState& well_state,
|
|||||||
template<typename FluidSystem, typename Indices, typename Scalar>
|
template<typename FluidSystem, typename Indices, typename Scalar>
|
||||||
void
|
void
|
||||||
MultisegmentWellEval<FluidSystem,Indices,Scalar>::
|
MultisegmentWellEval<FluidSystem,Indices,Scalar>::
|
||||||
processFractions(const int seg) const
|
processFractions(const int seg)
|
||||||
{
|
{
|
||||||
static constexpr int Water = BlackoilPhases::Aqua;
|
static constexpr int Water = BlackoilPhases::Aqua;
|
||||||
static constexpr int Oil = BlackoilPhases::Liquid;
|
static constexpr int Oil = BlackoilPhases::Liquid;
|
||||||
|
|||||||
@@ -132,7 +132,7 @@ protected:
|
|||||||
const bool relax_tolerance) const;
|
const bool relax_tolerance) const;
|
||||||
|
|
||||||
// handling the overshooting and undershooting of the fractions
|
// 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;
|
void updatePrimaryVariables(const WellState& well_state) const;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user