Chase API Change for UDQ Evaluation

In particular, pass a "segment matcher factory" into every function
that forms UDQ context objects.
This commit is contained in:
Bård Skaflestad committed 2023-10-04 16:33:19 +02:00
1 parent 8b8164308a
commit 0c7b0f5fcb
2 files changed
+8 -2

No files matched your search

+1
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);
}
+7 -2
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