#7527 opm-common: Add smspecKeywordIndex to SummaryNode

This commit is contained in:
Magne Sjaastad 2021-04-08 15:43:50 +02:00
parent cbd47a256f
commit 8128b26c27
2 changed files with 3 additions and 0 deletions

View File

@ -57,6 +57,7 @@ struct SummaryNode {
Type type;
std::string wgname;
int number;
size_t smspecKeywordIndex;
std::optional<std::string> fip_region;

View File

@ -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,
""
});