MultisegmentWell: make updatePrimaryVariables non-const

this will obviously update state
This commit is contained in:
Arne Morten Kvarving
2022-12-16 15:05:06 +01:00
parent ef992080cf
commit f782673b2d
2 changed files with 2 additions and 2 deletions

View File

@@ -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;