mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
In partitioning, only account for wells that will be active at some point in the simulation.
This commit is contained in:
parent
b886d4e4ae
commit
7ee218b1e2
@ -949,7 +949,7 @@ private:
|
||||
const auto need_wells = param.local_domain_partition_method_ == "zoltan";
|
||||
|
||||
const auto wells = need_wells
|
||||
? this->model_.simulator().vanguard().schedule().getWellsatEnd()
|
||||
? this->model_.simulator().vanguard().schedule().getActiveWellsatEnd()
|
||||
: std::vector<Well>{};
|
||||
|
||||
const auto& possibleFutureConnectionSet = need_wells
|
||||
|
@ -194,7 +194,7 @@ doLoadBalance_(const Dune::EdgeWeightMethod edgeWeightsMethod,
|
||||
}
|
||||
|
||||
const auto wells = ((mpiSize > 1) || partitionJacobiBlocks)
|
||||
? schedule.getWellsatEnd()
|
||||
? schedule.getActiveWellsatEnd()
|
||||
: std::vector<Well>{};
|
||||
const auto& possibleFutureConnections = schedule.getPossibleFutureConnections();
|
||||
// Distribute the grid and switch to the distributed view.
|
||||
|
Loading…
Reference in New Issue
Block a user