Output Well Flow Sheets for All Wells

There is no need to restrict PRT file flow reports to those wells
which are active on the current rank since the SummaryState object
holds information for all wells active at the current report step.
This commit is contained in:
Bård Skaflestad
2024-01-04 16:58:43 +01:00
parent b58b0f8879
commit 60c7c79f58
4 changed files with 12 additions and 41 deletions

View File

@@ -167,7 +167,7 @@ BOOST_AUTO_TEST_CASE(Cumulative)
}
Opm::LogOutputHelper<double> helper(eclState, schedule, st);
helper.cumulative(0, [](const std::string&) { return false; });
helper.cumulative(0);
std::string data = trimStream(str);
BOOST_CHECK_EQUAL(data, reference);
}
@@ -390,7 +390,7 @@ BOOST_AUTO_TEST_CASE(Injection)
}
Opm::LogOutputHelper<double> helper(eclState, schedule, st);
helper.injection(0, [](const std::string&) { return false; });
helper.injection(0);
std::string data = trimStream(str);
BOOST_CHECK_EQUAL(data, reference);
}
@@ -451,7 +451,7 @@ BOOST_AUTO_TEST_CASE(Production)
}
Opm::LogOutputHelper<double> helper(eclState, schedule, st);
helper.production(0, [](const std::string&) { return false; });
helper.production(0);
std::string data = trimStream(str);
BOOST_CHECK_EQUAL(data, reference);
}