24#ifndef OPM_ACTION_HANDLER_HPP
25#define OPM_ACTION_HANDLER_HPP
27#include <opm/simulators/utils/ParallelCommunication.hpp>
31#include <unordered_map>
34namespace Opm::Action {
39template<
class Scalar>
class BlackoilWellModelGeneric;
75 Action::State& actionState,
78 Parallel::Communication comm);
129 EclipseState& ecl_state_;
135 Action::State& actionState_;
144 Parallel::Communication comm_;
Class handling Action support in simulator.
Definition ActionHandler.hpp:52
void evalUDQAssignments(const unsigned episodeIdx, UDQState &udq_state)
Evaluates UDQ assign statements.
Definition ActionHandler.cpp:295
std::function< void(bool)> TransFunc
Function handle to update transmissiblities.
Definition ActionHandler.hpp:55
void applySimulatorUpdate(int report_step, const SimulatorUpdate &sim_update, const TransFunc &updateTrans, bool &commit_wellstate)
Convey dynamic updates triggered by an action block back to the running simulator.
Definition ActionHandler.cpp:270
void applyActions(int reportStep, double sim_time, const TransFunc &updateTrans)
Run all pending actions.
Definition ActionHandler.cpp:187
Class for handling the blackoil well model.
Definition BlackoilWellModelGeneric.hpp:92
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition blackoilboundaryratevector.hh:37
constexpr auto getPropValue()
get the value data member of a property
Definition propertysystem.hh:242