mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #2026 from bska/chase-summarystate-api-change
Chase SummaryState API Change
This commit is contained in:
commit
7a87b04182
@ -27,8 +27,6 @@
|
|||||||
#ifndef EWOMS_ECL_OUTPUT_BLACK_OIL_MODULE_HH
|
#ifndef EWOMS_ECL_OUTPUT_BLACK_OIL_MODULE_HH
|
||||||
#define EWOMS_ECL_OUTPUT_BLACK_OIL_MODULE_HH
|
#define EWOMS_ECL_OUTPUT_BLACK_OIL_MODULE_HH
|
||||||
|
|
||||||
#include "eclwriter.hh"
|
|
||||||
|
|
||||||
#include <opm/models/blackoil/blackoilproperties.hh>
|
#include <opm/models/blackoil/blackoilproperties.hh>
|
||||||
|
|
||||||
#include <opm/models/utils/propertysystem.hh>
|
#include <opm/models/utils/propertysystem.hh>
|
||||||
@ -123,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