mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Filter connections on non-IO ranks, too.
This removes a deadlock experienced for some models where we have specified connections to non-active cells. On non-IO ranks we are using the local grid since in the future there will be no global grid available. Wells connecting cells not on these processors are neglected anyway. Closes #2101
This commit is contained in:
parent
dd2a360e10
commit
a597539342
@ -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_;
|
||||
|
Loading…
Reference in New Issue
Block a user