mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
move UDQ evaluation to EclActionHandler
thus we can avoid include of WellMatcher.hpp in eclproblem.hh
This commit is contained in:
@@ -78,7 +78,6 @@
|
||||
#include <opm/material/common/Valgrind.hpp>
|
||||
#include <opm/input/eclipse/EclipseState/EclipseState.hpp>
|
||||
#include <opm/input/eclipse/Schedule/Schedule.hpp>
|
||||
#include <opm/input/eclipse/Schedule/Well/WellMatcher.hpp>
|
||||
#include <opm/common/utility/TimeService.hpp>
|
||||
#include <opm/utility/CopyablePtr.hpp>
|
||||
#include <opm/material/common/ConditionalStorage.hpp>
|
||||
@@ -1028,11 +1027,7 @@ public:
|
||||
|
||||
// Evaluate UDQ assign statements to make sure the settings are
|
||||
// available as UDA controls for the current report step.
|
||||
const auto& udq = schedule[episodeIdx].udq();
|
||||
const auto& well_matcher = schedule.wellMatcher(episodeIdx);
|
||||
auto& summary_state = simulator.vanguard().summaryState();
|
||||
auto& udq_state = simulator.vanguard().udqState();
|
||||
udq.eval_assign(episodeIdx, well_matcher, summary_state, udq_state);
|
||||
actionHandler_.evalUDQAssignments(episodeIdx, simulator.vanguard().udqState());
|
||||
}
|
||||
|
||||
/*!
|
||||
|
Reference in New Issue
Block a user