mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Honor transmissibilities when loadbalancing
This commit is contained in:
committed by
Markus Blatt
parent
dd77556252
commit
ea187da888
@@ -344,7 +344,7 @@ void distributeGridAndData( Dune::CpGrid& grid,
|
||||
global_grid.switchToGlobalView();
|
||||
|
||||
// distribute the grid and switch to the distributed view
|
||||
grid.loadBalance(eclipseState);
|
||||
grid.loadBalance(eclipseState, geology.transmissibility().data());
|
||||
grid.switchToDistributedView();
|
||||
std::vector<int> compressedToCartesianIdx;
|
||||
Opm::createGlobalCellArray(grid, compressedToCartesianIdx);
|
||||
|
||||
Reference in New Issue
Block a user