OPM / opm-grid

DUNE module supporting grids in a corner-point format
http://www.opm-project.org
GNU General Public License v3.0
20 stars 78 forks source link

[bugfix] Prevent out-of-bounds indexing during pinch processing. #649

Closed blattms closed 1 year ago

blattms commented 1 year ago

If we are processing a cell at the bottom of the grid, then there will be no lower neighbor at all and certainly not for an NNC.

Previously we would compute the index of a cell in the next non-existing layer and sometimes would index containers actnum and thickness out of bounds.

blattms commented 1 year ago

Should make it to the release.

blattms commented 1 year ago

jenkins build this please