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

Looking up data of leaf cells from level 0 grid supported #663

Closed aritorto closed 1 year ago

aritorto commented 1 year ago

Given an element in the LeafView and a container of properties, the property of its origin-cell (parent cell, if exists) is returned, in the case of (multiple LGRs) CpGrid. For general grids, the given properties are assumed to be on the leafview.

Fix CpGridData::disjointPatches(), test added.

aritorto commented 1 year ago

jenkins build this serial please

aritorto commented 1 year ago

jenkins build this serial please

aritorto commented 1 year ago

jenkins build this serial please

aritorto commented 1 year ago

Correct. The idea is to use it in opm-simulators/ebos, e.g. eclgenericthresholdpressure.cc, eclgenericproblem.cc (WIP on branch lookupdata-generalgrid, in opm-simulators).

bska commented 1 year ago

Am I reading this correctly, that the new LookupData<> template isn't used anywhere within this PR

Correct. The idea is to use it in opm-simulators/ebos, e.g. eclgenericthresholdpressure.cc, eclgenericproblem.cc

Ah, okay. In that case I think this is good and I'll merge into master. Sorry about the delay and thanks a lot for doing this work!