adjust for SummaryNode -> SummaryConfigNode rename

This commit is contained in:
Arne Morten Kvarving 2020-03-13 15:56:33 +01:00
parent c0938e74f4
commit 654fae05a4
2 changed files with 7 additions and 7 deletions

View File

@ -186,7 +186,7 @@ public:
// Initialize block output
for (const auto& node: summaryConfig) {
if (node.category() == SummaryNode::Category::Block) {
if (node.category() == SummaryConfigNode::Category::Block) {
if (collectToIORank.isGlobalIdxOnThisRank(node.number() - 1)) {
std::pair<std::string, int> key = std::make_pair(node.keyword(), node.number());
blockData_[key] = 0.0;

View File

@ -2175,18 +2175,18 @@ BOOST_AUTO_TEST_CASE(BrineDensityTable)
#endif
}
BOOST_AUTO_TEST_CASE(SummaryNode)
BOOST_AUTO_TEST_CASE(SummaryConfigNode)
{
#ifdef HAVE_MPI
auto val1 = Opm::SummaryNode{"test1", Opm::SummaryNode::Category::Region,
auto val1 = Opm::SummaryConfigNode{"test1", Opm::SummaryConfigNode::Category::Region,
Opm::Location{"test2", 1}}
.parameterType(Opm::SummaryNode::Type::Pressure)
.parameterType(Opm::SummaryConfigNode::Type::Pressure)
.namedEntity("test3")
.number(2)
.isUserDefined(true);
auto val2 = PackUnpack2(val1);
DO_CHECKS(SummaryNode)
DO_CHECKS(SummaryConfigNode)
#endif
}
@ -2194,9 +2194,9 @@ BOOST_AUTO_TEST_CASE(SummaryNode)
BOOST_AUTO_TEST_CASE(SummaryConfig)
{
#ifdef HAVE_MPI
auto node = Opm::SummaryNode{"test1", Opm::SummaryNode::Category::Region,
auto node = Opm::SummaryConfigNode{"test1", Opm::SummaryConfigNode::Category::Region,
Opm::Location{"test2", 1}}
.parameterType(Opm::SummaryNode::Type::Pressure)
.parameterType(Opm::SummaryConfigNode::Type::Pressure)
.namedEntity("test3")
.number(2)
.isUserDefined(true);