Mesh partitioning using METIS.
More...
|
using | index_t = int32_t |
| Index type used by METIS.
|
|
|
template<typename DerivedF > |
Eigen::Matrix< index_t, Eigen::Dynamic, 1 > | partition_mesh_vertices (const Eigen::MatrixBase< DerivedF > &facets, index_t num_partitions) |
| Partition mesh vertices into num_partitions using METIS. More...
|
|
Mesh partitioning using METIS.
◆ partition_mesh_vertices()
Eigen::Matrix< index_t, Eigen::Dynamic, 1 > partition_mesh_vertices |
( |
const Eigen::MatrixBase< DerivedF > & |
facets, |
|
|
index_t |
num_partitions |
|
) |
| |
Partition mesh vertices into num_partitions using METIS.
- Parameters
-
[in] | facets | #F x k array of facet indices. |
[in] | num_partitions | Number of partitions to produce. |
- Template Parameters
-
DerivedF | Type of facet array. |
- Returns
- #V x 1 array of partition ids.