diff --git a/flow/flow_ebos_blackoil.cpp b/flow/flow_ebos_blackoil.cpp index f060fb2ec..3cbf55325 100644 --- a/flow/flow_ebos_blackoil.cpp +++ b/flow/flow_ebos_blackoil.cpp @@ -34,6 +34,7 @@ void flowEbosBlackoilSetDeck(double setupTime, std::shared_ptr deck, std::shared_ptr eclState, std::shared_ptr schedule, std::unique_ptr udqState, + std::unique_ptr actionState, std::shared_ptr summaryConfig) { using TypeTag = Properties::TTag::EclFlowProblem; @@ -44,6 +45,7 @@ void flowEbosBlackoilSetDeck(double setupTime, std::shared_ptr deck, Vanguard::setExternalEclState(std::move(eclState)); Vanguard::setExternalSchedule(std::move(schedule)); Vanguard::setExternalUDQState(std::move(udqState)); + Vanguard::setExternalActionState(std::move(actionState)); Vanguard::setExternalSummaryConfig(std::move(summaryConfig)); } diff --git a/flow/flow_ebos_blackoil.hpp b/flow/flow_ebos_blackoil.hpp index 09a9556b4..df0f614d9 100644 --- a/flow/flow_ebos_blackoil.hpp +++ b/flow/flow_ebos_blackoil.hpp @@ -27,12 +27,16 @@ template class FlowMainEbos; class Schedule; class SummaryConfig; class UDQState; +namespace Action { +class State; +} namespace Properties { namespace TTag { struct EclFlowProblem; } } void flowEbosBlackoilSetDeck(double setupTime, std::shared_ptr deck, std::shared_ptr eclState, std::shared_ptr schedule, std::unique_ptr udqState, + std::unique_ptr actionState, std::shared_ptr summaryConfig); int flowEbosBlackoilMain(int argc, char** argv, bool outputCout, bool outputFiles); diff --git a/opm/simulators/flow/Main.hpp b/opm/simulators/flow/Main.hpp index 7e591d72b..8d66e0028 100644 --- a/opm/simulators/flow/Main.hpp +++ b/opm/simulators/flow/Main.hpp @@ -263,6 +263,7 @@ namespace Opm eclipseState_, schedule_, std::move(udqState_), + std::move(this->actionState_), summaryConfig_); return flowEbosBlackoilMainInit( argc_, argv_, outputCout_, outputFiles_); @@ -653,6 +654,7 @@ namespace Opm this->eclipseState_, this->schedule_, std::move(this->udqState_), + std::move(this->actionState_), this->summaryConfig_); return flowEbosBlackoilMain(argc_, argv_, outputCout_, outputFiles_);