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:
Markus Blatt
2019-11-01 13:07:09 +01:00
committed by GitHub

View File

@@ -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_;