mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
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:
@@ -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);
|
||||
}
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user