Compute a cell reordering permutation using Metis partitioning with optional inner partitioning and contiguous sorting.
- Partition via Metis + RCM.
- Optionally sub-partition each first-level partition.
- Within each partition, sort cells so interior (private) cells come before cells that touch ghost neighbors.
- Build inverse permutation.
- Parameters
-
| cell2cellFaceV | Local face-adjacency graph (no ghost edges). |
| cell2cell | Full cell-to-cell adjacency (with ghost). |
| nCell | Number of local (father) cells. |
| nParts | Number of first-level partitions. |
| nPartsInner | Number of inner partitions per first-level part. |
Definition at line 42 of file Mesh_CellPermutation.hpp.