mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -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:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user