mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-07 15:03:01 -06:00
MultisegmentWell: make updatePrimaryVariables non-const
this will obviously update state
This commit is contained in:
parent
ef992080cf
commit
f782673b2d
@ -307,7 +307,7 @@ updatePrimaryVariablesNewton(const BVectorWell& dwells,
|
||||
template<typename FluidSystem, typename Indices, typename Scalar>
|
||||
void
|
||||
MultisegmentWellEval<FluidSystem,Indices,Scalar>::
|
||||
updatePrimaryVariables(const WellState& well_state) const
|
||||
updatePrimaryVariables(const WellState& well_state)
|
||||
{
|
||||
static constexpr int Water = BlackoilPhases::Aqua;
|
||||
static constexpr int Gas = BlackoilPhases::Vapour;
|
||||
|
@ -134,7 +134,7 @@ protected:
|
||||
// handling the overshooting and undershooting of the fractions
|
||||
void processFractions(const int seg);
|
||||
|
||||
void updatePrimaryVariables(const WellState& well_state) const;
|
||||
void updatePrimaryVariables(const WellState& well_state);
|
||||
|
||||
void updateUpwindingSegments();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user