mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-12 08:54:53 -05:00
Use shared SummaryState in BlackoilWellModel
This commit is contained in:
1 parent
6edba5d94e
commit
b129a10362
1 file changed
+2
-2
@@ -1092,7 +1092,7 @@ namespace Opm {
|
||||
computeAverageFormationFactor(B_avg);
|
||||
|
||||
const Opm::SummaryConfig& summaryConfig = ebosSimulator_.vanguard().summaryConfig();
|
||||
Opm::SummaryState summaryState;
|
||||
const auto& summaryState = ebosSimulator_.vanguard().summaryState();
|
||||
int exception_thrown = 0;
|
||||
try {
|
||||
for (const auto& well : well_container_copy) {
|
||||
@@ -1653,7 +1653,7 @@ namespace Opm {
|
||||
{
|
||||
|
||||
const std::vector<int>& resv_wells = SimFIBODetails::resvWells(wells());
|
||||
Opm::SummaryState summaryState;
|
||||
const auto& summaryState = ebosSimulator_.vanguard().summaryState();
|
||||
|
||||
int global_number_resv_wells = resv_wells.size();
|
||||
global_number_resv_wells = ebosSimulator_.gridView().comm().sum(global_number_resv_wells);
|
||||
|
||||
Reference in new issue
Block a user