Create a function to partition a mesh. Args: mode: Ghosting mode to use max_facet_to_cell_links: Maximum number of cells connected to a facet. Equal to 2 for non-branching manifold meshes. ``None`` corresponds to no upper bound on the number of
(mode: GhostMode, max_facet_to_cell_links: int)
| 110 | |
| 111 | @create_cell_partitioner.register(GhostMode) |
| 112 | def _(mode: GhostMode, max_facet_to_cell_links: int) -> Callable: |
| 113 | """Create a function to partition a mesh. |
| 114 | |
| 115 | Args: |
| 116 | mode: Ghosting mode to use |
| 117 | max_facet_to_cell_links: Maximum number of cells connected to a |
| 118 | facet. Equal to 2 for non-branching manifold meshes. |
| 119 | ``None`` corresponds to no upper bound on the number of |
| 120 | possible connections. |
| 121 | |
| 122 | Return: |
| 123 | Partitioning function. |
| 124 | """ |
| 125 | return _cpp.mesh.create_cell_partitioner(mode, max_facet_to_cell_links) |
| 126 | |
| 127 | |
| 128 | class Topology: |
nothing calls this directly
no test coverage detected