Merge pull request #4402 from bska/follow-udq-context-api-change

Chase API Change for UDQ Evaluation
This commit is contained in:
Markus Blatt 2023-10-06 15:35:29 +02:00 committed by GitHub
commit 3c7a4635ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 2 deletions

View File

@ -652,6 +652,7 @@ evalSummary(const int reportStepNum,
.eval(udq_step,
this->schedule_,
this->schedule_.wellMatcher(udq_step),
this->schedule_.segmentMatcherFactory(udq_step),
summaryState,
udqState);
}

View File

@ -254,8 +254,13 @@ void EclActionHandler::evalUDQAssignments(const unsigned episodeIdx,
UDQState& udq_state)
{
const auto& udq = schedule_[episodeIdx].udq();
const auto& well_matcher = schedule_.wellMatcher(episodeIdx);
udq.eval_assign(episodeIdx, schedule_, well_matcher, summaryState_, udq_state);
udq.eval_assign(episodeIdx,
this->schedule_,
this->schedule_.wellMatcher(episodeIdx),
this->schedule_.segmentMatcherFactory(episodeIdx),
this->summaryState_,
udq_state);
}
} // namespace Opm