mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Include perforation data in SingleWellState
This commit is contained in:
@@ -294,8 +294,8 @@ BOOST_AUTO_TEST_CASE(Pressure)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
const auto& perf_data = wstate.perfData("PROD01");
|
||||
const auto& ws = wstate.well("PROD01");
|
||||
const auto& perf_data = ws.perf_data;
|
||||
(void) perf_data;
|
||||
}
|
||||
|
||||
@@ -362,7 +362,8 @@ BOOST_AUTO_TEST_CASE(STOP_well)
|
||||
std::vector<Opm::ParallelWellInfo> pinfos;
|
||||
auto wstate = buildWellState(setup, 0, pinfos);
|
||||
for (std::size_t well_index = 0; well_index < setup.sched.numWells(0); well_index++) {
|
||||
const auto& perf_data = wstate.perfData(well_index);
|
||||
const auto& ws = wstate.well(well_index);
|
||||
const auto& perf_data = ws.perf_data;
|
||||
for (const auto& p : perf_data.pressure)
|
||||
BOOST_CHECK(p > 0);
|
||||
}
|
||||
@@ -541,13 +542,6 @@ BOOST_AUTO_TEST_CASE(TESTSegmentState2) {
|
||||
|
||||
|
||||
BOOST_AUTO_TEST_CASE(TESTPerfData) {
|
||||
const auto& deck_string = R"(
|
||||
RUNSPEC
|
||||
|
||||
OIL
|
||||
WATER
|
||||
GAS
|
||||
)";
|
||||
Opm::PerfData pd1(3, true, 3);
|
||||
Opm::PerfData pd2(3, true, 3);
|
||||
Opm::PerfData pd3(2, true, 3);
|
||||
|
||||
Reference in New Issue
Block a user