DOLFINx
0.1.0
DOLFINx C++ interface
|
Interface to SCOTCH-PT. More...
Enumerations | |
enum | strategy { none, balance, quality, safety, speed, scalability } |
SCOTCH partitioning strategies. | |
Functions | |
graph::partition_fn | partitioner (scotch::strategy strategy=strategy::none, double imbalance=0.025, int seed=0) |
Create a graph partitioning function that uses SCOTCH. More... | |
std::pair< std::vector< int >, std::vector< int > > | compute_gps (const AdjacencyList< std::int32_t > &graph, std::size_t num_passes=5) |
Compute reordering (map[old] -> new) using Gibbs-Poole-Stockmeyer (GPS) re-ordering. More... | |
std::pair< std::vector< int >, std::vector< int > > | compute_reordering (const AdjacencyList< std::int32_t > &graph, std::string scotch_strategy="") |
Compute graph re-ordering. More... | |
Interface to SCOTCH-PT.
std::pair< std::vector< int >, std::vector< int > > dolfinx::graph::scotch::compute_gps | ( | const AdjacencyList< std::int32_t > & | graph, |
std::size_t | num_passes = 5 |
||
) |
Compute reordering (map[old] -> new) using Gibbs-Poole-Stockmeyer (GPS) re-ordering.
[in] | graph | Input graph |
[in] | num_passes | Number of passes to use in GPS algorithm |
std::pair< std::vector< int >, std::vector< int > > dolfinx::graph::scotch::compute_reordering | ( | const AdjacencyList< std::int32_t > & | graph, |
std::string | scotch_strategy = "" |
||
) |
Compute graph re-ordering.
[in] | graph | Input graph |
[in] | scotch_strategy | (string) SCOTCH parameters |
graph::partition_fn dolfinx::graph::scotch::partitioner | ( | scotch::strategy | strategy = strategy::none , |
double | imbalance = 0.025 , |
||
int | seed = 0 |
||
) |
Create a graph partitioning function that uses SCOTCH.
[in] | strategy | The SCOTCH strategy |
[in] | imbalance | The allowable imbalance (between 0 and 1). The smaller value the more balanced the partitioning must be. |
[in] | seed | Random number generator seed |