mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #2120 from blattms/filter-connections-on-all-procs
Filter connections on non-IO ranks and remove parallel deadlock
This commit is contained in:
@@ -280,6 +280,13 @@ protected:
|
||||
const auto eclipseGrid = Opm::UgGridHelpers::createEclipseGrid(equilGrid(), this->eclState().getInputGrid());
|
||||
this->schedule().filterConnections(eclipseGrid);
|
||||
}
|
||||
else
|
||||
{
|
||||
// for the other processes we filter using the local grid since there
|
||||
// are models with connections specified to inactive cells
|
||||
const auto eclipseGrid = Opm::UgGridHelpers::createEclipseGrid(grid(), this->eclState().getInputGrid());
|
||||
this->schedule().filterConnections(eclipseGrid);
|
||||
}
|
||||
}
|
||||
|
||||
std::unique_ptr<Grid> grid_;
|
||||
|
||||
Reference in New Issue
Block a user