FEniCS / FEniCS/dolfinx

Fix refined meshes with ghosts

Open
#3,443 3 comments 0 reactions 0 assignees View on GitHub
enhancement high-priority
Dominant language
C++
Stars
1.2k
Forks
261
Avg merge
1d 15h
Merged PRs (30d)
65

Description

At the moment, the handling of refinement of ghosted meshes is a mess. It should be easy to optionally include ghost cells in a refined mesh **without re-partitioning** by using `compute_destination_ranks(...)` in `graph/partitioners.cpp`.

This is compounded by `transfer_facet_meshtag(...)` and `transfer_cells_meshtag(...)` no supporting ghosted meshes, or re-partitioned refined meshes. Both should be relatively easy to support. This leads to unexpected 'user experiences'.

It could help a lot if `mesh::create_mesh` returned the destination ranks of the input cells.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.