9#include "AdjacencyList.h"
59 MPI_Comm comm,
int nparts, std::span<const double> x,
int gdim,
60 std::optional<std::span<const std::int32_t>> weights = std::nullopt);
89 MPI_Comm comm,
int nparts, std::span<const double> x,
int gdim,
90 std::optional<std::span<const std::int32_t>> weights = std::nullopt);
Graph data structures and algorithms.
Definition AdjacencyList.h:23
std::vector< int > partition_sfc_hilbert(MPI_Comm comm, int nparts, std::span< const double > x, int gdim, std::optional< std::span< const std::int32_t > > weights=std::nullopt)
Partition points into nparts groups of (approximately) equal size using a Hilbert space-filling curve...
Definition sfc.cpp:627
std::vector< int > partition_sfc_morton(MPI_Comm comm, int nparts, std::span< const double > x, int gdim, std::optional< std::span< const std::int32_t > > weights=std::nullopt)
Partition points into nparts groups of (approximately) equal size using a Morton ('Z-order') space-fi...
Definition sfc.cpp:619