10#if defined(FEAT_HAVE_SCOTCH) || defined(DOXYGEN)
12#include <kernel/adjacency/coloring.hpp>
13#include <kernel/adjacency/graph.hpp>
14#include <kernel/geometry/index_set.hpp>
15#include <kernel/util/dist.hpp>
70 const std::vector<Real>& weights)
73 _create_subgraph(graph, num_parts);
74 return _execute(weights);
83 void _create_subgraph(
const Adjacency::Graph& faces_at_elem,
Index num_parts);
84 bool _execute(
const std::vector<Real>& weights);
85 bool _gather_coloring();
86 bool _broadcast_coloring(
bool ok);
#define XASSERT(expr)
Assertion macro definition.
Coloring object implementation.
Graph create_partition_graph() const
Creates a color partition graph.
Adjacency Graph implementation.
Conformal Index-Set class template.
Index _min_elems
Mininum number of elements on each rank.
Index _local_num_elements
Local number of elements.
Dist::Comm _work_comm
Communicator for performing partitioning.
Adjacency::Coloring _coloring
Elements-at-rank coloring.
Adjacency::Graph _subgraph
Subgraph for this rank.
Index _first_elem
First element of this process.
int _max_work_procs
Maximum number of ranks to use for partitioning
Index _global_num_elements
Global number of elements.
std::vector< Index > _parts
Element partitioning.
Index _num_parts
Desired number of partitions.
const Dist::Comm & _comm
Main communicator.
@ as_is
Render-As-Is mode.
std::uint64_t Index
Index data type.