MultisegmentWell: make updatePrimaryVariablesNewton non-const

this will obviously update state
This commit is contained in:
Arne Morten Kvarving committed 2022-12-16 15:07:12 +01:00
1 parent ac91db281a
commit ef992080cf
2 files changed
+2 -2

No files matched your search

@@ -261,7 +261,7 @@ MultisegmentWellEval<FluidSystem,Indices,Scalar>::
updatePrimaryVariablesNewton(const BVectorWell& dwells,
const double relaxation_factor,
const double dFLimit,
const double max_pressure_change) const
const double max_pressure_change)
{
const std::vector<std::array<double, numWellEq> > old_primary_variables = primary_variables_;
@@ -142,7 +142,7 @@ protected:
void updatePrimaryVariablesNewton(const BVectorWell& dwells,
const double relaxation_factor,
const double DFLimit,
const double max_pressure_change) const;
const double max_pressure_change);
void computeSegmentFluidProperties(const EvalWell& temperature,
const EvalWell& saltConcentration,