|
DOLFINx 0.12.0.0
DOLFINx C++
|
An ::AnyPartitionFunction together with the node weights it should be called with, if any. More...
#include <partition.h>
Public Attributes | |
| AnyPartitionFunction | fn = partition_fn(partition_graph) |
| std::optional< std::span< const std::int32_t > > | node_weights = std::nullopt |
An ::AnyPartitionFunction together with the node weights it should be called with, if any.
Bundles the two arguments that are otherwise threaded through mesh::create_mesh and mesh::impl::partition_cells separately, since a weight only makes sense alongside the partitioner it is meant for.
Partitioning function. Defaults to ::partition_graph, the default graph partitioner.
| std::optional<std::span<const std::int32_t> > node_weights = std::nullopt |
Node weights, one entry per node the partitioner is called with. If std::nullopt, nodes are treated as having equal weight.