mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-09-05 04:40:19 -05:00
move UDQ evaluation to EclActionHandler
thus we can avoid include of WellMatcher.hpp in eclproblem.hh
This commit is contained in:
@@ -245,4 +245,12 @@ EclActionHandler::fetchWellPI(const int reportStep,
|
||||
return wellpi;
|
||||
}
|
||||
|
||||
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, well_matcher, summaryState_, udq_state);
|
||||
}
|
||||
|
||||
} // namespace Opm
|
||||
|
||||
Reference in New Issue
Block a user