move UDQ evaluation to EclActionHandler

thus we can avoid include of WellMatcher.hpp in eclproblem.hh
This commit is contained in:
Arne Morten Kvarving
2023-01-10 11:31:56 +01:00
parent a920699e1a
commit b320716b17
3 changed files with 14 additions and 6 deletions
+8
View File
@@ -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