mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Add productivity_index to SingleWellState
This commit is contained in:
@@ -597,9 +597,10 @@ namespace Opm
|
||||
std::transform(src, src + np, dest, dest, std::plus<>{});
|
||||
};
|
||||
|
||||
auto& ws = well_state.well(this->index_of_well_);
|
||||
auto& perf_data = well_state.perfData(this->index_of_well_);
|
||||
auto* wellPI = well_state.productivityIndex(this->index_of_well_).data();
|
||||
auto* connPI = perf_data.prod_index.data();
|
||||
auto* wellPI = ws.productivity_index.data();
|
||||
|
||||
setToZero(wellPI);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user