From e03bebf5fe732b4b7007692d8b11931bd4a11251 Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Thu, 1 Jul 2021 16:05:46 +0200 Subject: [PATCH] #7838 Summary: Include missing Node vector GPR in category Group --- ApplicationLibCode/FileInterface/RifOpmCommonSummary.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ApplicationLibCode/FileInterface/RifOpmCommonSummary.cpp b/ApplicationLibCode/FileInterface/RifOpmCommonSummary.cpp index f02ab4e6a9..7da8170bb3 100644 --- a/ApplicationLibCode/FileInterface/RifOpmCommonSummary.cpp +++ b/ApplicationLibCode/FileInterface/RifOpmCommonSummary.cpp @@ -274,6 +274,10 @@ RifEclipseSummaryAddress RifOpmCommonSummaryTools::createAddressFromSummaryNode( default: break; case Opm::EclIO::SummaryNode::Category::Node: + // The vector "GPR" is defined as Node + // The behavior in libecl is to use the category Group + // https://github.com/OPM/ResInsight/issues/7838 + return RifEclipseSummaryAddress::wellGroupAddress( summaryNode.keyword, summaryNode.wgname ); break; case Opm::EclIO::SummaryNode::Category::Network: return RifEclipseSummaryAddress::networkAddress( summaryNode.keyword );