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:
Markus Blatt 2015-09-01 09:30:04 +02:00
parent 59fccb2f86
commit c527e15b63

View File

@ -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());