MultisegmentWell: move updateUpwindingSegments to MultisegmentWellPrimaryVariables

This commit is contained in:
Arne Morten Kvarving
2022-12-19 09:52:48 +01:00
parent 37607c570a
commit e1cd54b267
5 changed files with 31 additions and 29 deletions

View File

@@ -1526,11 +1526,11 @@ namespace Opm
const GroupState& group_state,
DeferredLogger& deferred_logger)
{
if (!this->isOperableAndSolvable() && !this->wellIsStopped()) return;
// update the upwinding segments
this->updateUpwindingSegments();
this->primary_variables_.updateUpwindingSegments(*this,
this->upwinding_segments_);
// calculate the fluid properties needed.
computeSegmentFluidProperties(ebosSimulator, deferred_logger);