mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-20 11:48:25 -06:00
Use well information during load balancing.
With this commit we pass the well information to the loadbalance method of CpGrid to ensure that each well is stored completely on one process.
This commit is contained in:
parent
59fccb2f86
commit
c527e15b63
@ -324,7 +324,7 @@ void distributeGridAndData( Dune::CpGrid& grid,
|
||||
global_grid.switchToGlobalView();
|
||||
|
||||
// distribute the grid and switch to the distributed view
|
||||
grid.loadBalance();
|
||||
grid.loadBalance(eclipseState);
|
||||
grid.switchToDistributedView();
|
||||
|
||||
distributed_props = std::make_shared<BlackoilPropsAdFromDeck>(properties, grid.numCells());
|
||||
|
Loading…
Reference in New Issue
Block a user