From d5a21427b4be886c073aeba8a348d2c2c5f01724 Mon Sep 17 00:00:00 2001 From: Joakim Hove Date: Thu, 27 Aug 2020 07:59:15 +0200 Subject: [PATCH] Add fip_region to summary context argument --- src/opm/output/eclipse/Summary.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/opm/output/eclipse/Summary.cpp b/src/opm/output/eclipse/Summary.cpp index 259db6b51..cb3e1a8df 100644 --- a/src/opm/output/eclipse/Summary.cpp +++ b/src/opm/output/eclipse/Summary.cpp @@ -379,6 +379,7 @@ struct fn_args { double duration; const int sim_step; int num; + const std::string fip_region; const Opm::SummaryState& st; const Opm::data::Wells& wells; const Opm::data::GroupValues& groups; @@ -1640,6 +1641,7 @@ namespace Evaluator { const fn_args args { wells, group_name, stepSize, static_cast(sim_step), std::max(0, this->node_.number), + this->node_.fip_region, st, simRes.wellSol, simRes.groupSol, input.reg, input.grid, std::move(efac.factors) }; @@ -2094,6 +2096,7 @@ namespace Evaluator { const fn_args args { {}, "", 0.0, 0, std::max(0, this->node_->number), + this->node_->fip_region, this->st_, {}, {}, reg, this->grid_, {} };