mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Blackoil Output: Chase API Change in SummaryNode Class
In particular, the .type() function is renamed to .category(), and it no longer returns a LibECL type. Similarly, the .num() function has been renamed to .number().
This commit is contained in:
parent
fabc067b5e
commit
d979fb0fae
@ -121,9 +121,9 @@ public:
|
|||||||
|
|
||||||
// Initialize block output
|
// Initialize block output
|
||||||
for (const auto& node: summaryConfig) {
|
for (const auto& node: summaryConfig) {
|
||||||
if (node.type() == ECL_SMSPEC_BLOCK_VAR) {
|
if (node.category() == SummaryNode::Category::Block) {
|
||||||
if (collectToIORank.isGlobalIdxOnThisRank(node.num() - 1)) {
|
if (collectToIORank.isGlobalIdxOnThisRank(node.number() - 1)) {
|
||||||
std::pair<std::string, int> key = std::make_pair(node.keyword(), node.num());
|
std::pair<std::string, int> key = std::make_pair(node.keyword(), node.number());
|
||||||
blockData_[key] = 0.0;
|
blockData_[key] = 0.0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user