From 8128b26c27cb12969246ed506e39a306e7f2b293 Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Thu, 8 Apr 2021 15:43:50 +0200 Subject: [PATCH] #7527 opm-common: Add smspecKeywordIndex to SummaryNode --- .../custom-opm-common/opm-common/opm/io/eclipse/SummaryNode.hpp | 1 + .../custom-opm-common/opm-common/src/opm/io/eclipse/ESmry.cpp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/ThirdParty/custom-opm-common/opm-common/opm/io/eclipse/SummaryNode.hpp b/ThirdParty/custom-opm-common/opm-common/opm/io/eclipse/SummaryNode.hpp index 4690dadea7..16db4fa34a 100644 --- a/ThirdParty/custom-opm-common/opm-common/opm/io/eclipse/SummaryNode.hpp +++ b/ThirdParty/custom-opm-common/opm-common/opm/io/eclipse/SummaryNode.hpp @@ -57,6 +57,7 @@ struct SummaryNode { Type type; std::string wgname; int number; + size_t smspecKeywordIndex; std::optional fip_region; diff --git a/ThirdParty/custom-opm-common/opm-common/src/opm/io/eclipse/ESmry.cpp b/ThirdParty/custom-opm-common/opm-common/src/opm/io/eclipse/ESmry.cpp index 6e41d687f9..6f23f481fd 100644 --- a/ThirdParty/custom-opm-common/opm-common/src/opm/io/eclipse/ESmry.cpp +++ b/ThirdParty/custom-opm-common/opm-common/src/opm/io/eclipse/ESmry.cpp @@ -193,6 +193,7 @@ ESmry::ESmry(const std::string &filename, bool loadBaseRunData , bool uselodsmry SummaryNode::Type::Undefined, wgnames[i], nums[i], + i, "" }); @@ -263,6 +264,7 @@ ESmry::ESmry(const std::string &filename, bool loadBaseRunData , bool uselodsmry SummaryNode::Type::Undefined, wgnames[i], nums[i], + i, "" });