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] Invalid corners on (leafGridView)face_to_point_ #702

Closed aritorto closed 10 months ago

aritorto commented 10 months ago

On the leaf grid view of a CpGrid with LGRs, there are faces equivalent to the ones from level zero which have not been refined. In particular, when populating face_topoint of coarse faces that happen to touch an LGR on its boundary on (at least) one corner, get the refined corner.

There was a bug assigning -1 in those cases, instead of the actual correct leaf grid view corner index. This PR fixes it.

aritorto commented 10 months ago

jenkins build this please

aritorto commented 10 months ago

jenkins build this please