Skip to content

Conversation

@Algiane
Copy link
Member

@Algiane Algiane commented Oct 25, 2024

This PR:

  • adds multiple checks for tag consistency inside meshes;
  • solves multiple issues raised by these checks.

Algiane and others added 30 commits August 22, 2024 10:00
First attempt to maintain edge tags consistency in grp_split: for now, edges of xtetra of new mesh are updated if they belong to a boundary face.
Solves missing MG_NOM and MG_REF tags when a rank has a nom edge but without any physical boudary on it.
See the following test:
```
parmmg_debug TEST_OUTPUTS/sphere_nom_0-2.mesh -v 6 -centralized-output -metis-ratio 82 -noinsert -noswap -nomove -rn 0
```
… detection).

    Along // edges, non-manifold analysis and information sharing is done inside the PMMG_setdhd function, thus it was skipped in -nr mode.

    See the following test:
    ```
    parmmg_debug TEST_OUTPUTS/sphere_nom_0-2.mesh -v 6 -centralized-output -metis-ratio 82 -noinsert -noswap -nomove -rn 0 -nr
    ```
  - If a mesh is subdivided into 3 partitions with 3 MPI processes, an
edge provided as ref edge at input by the user will miss the MG_REF tag
if it blongs to only purely parallel faces on a partition. The tag is
suitably set to REF on the other partitions, leading to non-consistency.

  - fixes ls ls-DisIn-toygeom-faces-5 test case
… EDG tag at point along non EDG edge due to spurious input surface triangles matching the // interface).
…ot ad PARBDYBDY tags on temporary triangles that are finally deleted when storing the tags inside the xtetra.
@Algiane Algiane added kind: bug Something isn't working kind: enhancement enhancement to an existing feature part: mmg3d / mesh specific to mmg3d code part or meshing techniques part: parmmg specific to parmmg code part part: analysis labels Oct 25, 2024
@Algiane Algiane self-assigned this Oct 25, 2024
@Algiane Algiane changed the base branch from master to develop October 25, 2024 14:29
…, nom edges are not marked as ridges anymore)."

This reverts commit fdabace: for now, we tag non-consistency if we don't add the MG_GEO tag at the same time than the MG_NOM one. I have no time to look at this now... postponed
@Algiane Algiane closed this Oct 29, 2024
@Algiane Algiane reopened this Oct 29, 2024
@Algiane Algiane merged commit 86b3956 into develop Oct 29, 2024
@Algiane Algiane deleted the feature/edge-tag-consistency branch October 31, 2024 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind: bug Something isn't working kind: enhancement enhancement to an existing feature part: analysis part: mmg3d / mesh specific to mmg3d code part or meshing techniques part: parmmg specific to parmmg code part

Projects

Development

Successfully merging this pull request may close these issues.

2 participants