Tools for partitioning meshes.
More...
#include <Partitioning.h>
Tools for partitioning meshes.
◆ compute_vertex_exterior_markers()
std::vector< bool > Partitioning::compute_vertex_exterior_markers |
( |
const mesh::Topology & |
topology_local | ) |
|
|
static |
- Todo:
- Move elsewhere
Compute markers for interior/boundary vertices
- Parameters
-
[in] | topology_local | Local topology |
- Returns
- Array where the ith entry is true if the ith vertex is on the boundary
◆ partition_cells()
Compute destination rank for mesh cells in this rank using a graph partitioner.
- Parameters
-
[in] | comm | MPI Communicator |
[in] | n | Number of partitions |
[in] | cell_type | Cell type |
[in] | cells | Cells on this process. The ith entry in list contains the global indices for the cell vertices. Each cell can appear only once across all processes. The cell vertex indices are not necessarily contiguous globally, i.e. the maximum index across all processes can be greater than the number of vertices. High-order 'nodes', e.g. mid-side points, should not be included. |
[in] | ghost_mode | How to overlap the cell partitioning: none, shared_facet or shared_vertex |
- Returns
- Destination processes for each cell on this process
The documentation for this class was generated from the following files:
- /build/dolfinx-kFTZhX/dolfinx-2019.2.0~git20200420.6043d6d/cpp/dolfinx/mesh/Partitioning.h
- /build/dolfinx-kFTZhX/dolfinx-2019.2.0~git20200420.6043d6d/cpp/dolfinx/mesh/Partitioning.cpp