Fix refined meshes with ghosts
Open
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
Assessment
This issue has not been assessed yet.