MultisegmentWellEval: make assembleDefaultPressureEq non-const

this changes class state
This commit is contained in:
Arne Morten Kvarving 2022-11-30 23:06:44 +01:00
parent f6e12a86b3
commit c15925858f
2 changed files with 2 additions and 2 deletions

View File

@ -1351,7 +1351,7 @@ template<typename FluidSystem, typename Indices, typename Scalar>
void
MultisegmentWellEval<FluidSystem,Indices,Scalar>::
assembleDefaultPressureEq(const int seg,
WellState& well_state) const
WellState& well_state)
{
assert(seg != 0); // not top segment

View File

@ -131,7 +131,7 @@ protected:
DeferredLogger& deferred_logger);
void assembleDefaultPressureEq(const int seg,
WellState& well_state) const;
WellState& well_state);
// assemble pressure equation for ICD segments