Skip to content

Overlap layer size 1 affects uniqueness of point global ids for CpGrid with LGRs #804

Description

@aritorto

When a CpGrid gets distributed, the overlap layer size is set to 1. In particular, cells that share only corners or edges (and do not share faces) with interior cells are not seen by the process, i.e., are not part of the overlap layer.

A few PRs (#802 and #803) intend to support adding LGRs on a distributed grid. This includes the definition/assignment of new ids for refined cells and points. We expect ids to be unique across all processes and to have only one id per Entity (cell or point). Unfortunately, uniqueness for point ids is not achievable and the reason behind that is the size of the overlap layer (equal to 1, considering only cells that share a face with an interior cell, but not only points/edges).

In #802, in addLgrsOnDistributedGrid_test.cpp there are many examples to illustrate this situation.

Do we want to modify the size of the overlap layer? In general? Only if LGRs are involved? Or should we move forward without unique point ids "in some cases"?

Calling loadBalance with addCornerCells = true solves the issue in SOME cases. See #806

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions