mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Use ActiveGridCells instead of EclipseGrid when filtering connections.
The function signature has changed upstream.
This commit is contained in:
parent
201887f283
commit
e7f7ad2ddc
@ -202,8 +202,9 @@ public:
|
|||||||
// for processes that do not hold the global grid we filter here using the local grid.
|
// for processes that do not hold the global grid we filter here using the local grid.
|
||||||
// If we would filter in filterConnection_ our partition would be empty and the connections of all
|
// If we would filter in filterConnection_ our partition would be empty and the connections of all
|
||||||
// wells would be removed.
|
// wells would be removed.
|
||||||
const auto eclipseGrid = Opm::UgGridHelpers::createEclipseGrid(grid(), this->eclState().getInputGrid());
|
ActiveGridCells activeCells(grid().logicalCartesianSize(),
|
||||||
this->schedule().filterConnections(eclipseGrid);
|
grid().globalCell().data(), grid().size(0));
|
||||||
|
this->schedule().filterConnections(activeCells);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
@ -290,8 +291,10 @@ protected:
|
|||||||
// here would remove all well connections.
|
// here would remove all well connections.
|
||||||
if (equilGrid_)
|
if (equilGrid_)
|
||||||
{
|
{
|
||||||
const auto eclipseGrid = Opm::UgGridHelpers::createEclipseGrid(equilGrid(), this->eclState().getInputGrid());
|
ActiveGridCells activeCells(equilGrid().logicalCartesianSize(),
|
||||||
this->schedule().filterConnections(eclipseGrid);
|
equilGrid().globalCell().data(),
|
||||||
|
equilGrid().size(0));
|
||||||
|
this->schedule().filterConnections(activeCells);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user