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<
typename Scalar,
typename IndexTraits>
class BlackoilWellModelGeneric;
50template<
typename Scalar,
typename IndexTraits>
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
std::function< void(bool)> TransFunc
Function handle to update transmissiblities.
Definition ActionHandler.hpp:55
void applyActions(int reportStep, double sim_time, const TransFunc &updateTrans)
Run all pending actions.
Definition ActionHandler.cpp:189
void evalUDQAssignments(const unsigned episodeIdx, UDQState &udq_state)
Evaluates UDQ assign statements.
Definition ActionHandler.cpp:297
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:272
Class for handling the blackoil well model.
Definition BlackoilWellModelGeneric.hpp:95
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition blackoilbioeffectsmodules.hh:43
constexpr auto getPropValue()
get the value data member of a property
Definition propertysystem.hh:240