OPM / opm-grid

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

Data handle for parent-to-children-global ids #784

Closed aritorto closed 1 month ago

aritorto commented 1 month ago

This PR introduces a structure to manage the global IDs of parent-to-children cells, paving the way for distributing Local Grid Refinements (LGRs) across different processes. This structure ensures the correct assignment of global cell IDs in refined grids, gathering already-assigned IDs for interior cells and distributing them for overlap cells.

The next step will focus on implementing a data handle for points/vertices (Entity<3>).

It contains OPM/opm-grid#783

aritorto commented 1 month ago

jenkins build this please

blattms commented 1 month ago

I have not really looked at this in any detail, yet.

This has only one commit, but includes another PR. Is this intentional?

I think the changes related to the subject of this PR should be in their own commit. There should also be some kind of test for the DataHandle.

aritorto commented 1 month ago

This has only one commit, but includes another PR. Is this intentional?

Unfortunately, I messed things up while I fixed-up some commits. It was not intentional. I'll split the change and add some tests for the data handle. Turn it into draft now.

aritorto commented 1 month ago

Replaced and improved by OPM/opm-grid#785