3.5-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Loading...
Searching...
No Matches
Dumux::ScotchPartitioner< IndexType > Class Template Reference

#include <dumux/parallel/scotchpartitioner.hh>

Public Types

using Graph = std::vector<std::vector<IndexType>>
 the graph type

Static Public Member Functions

static std::vector< IndexType > partition (const Graph &graph, std::size_t numProcessors)
 Compute graph partition.
static void partition (const Graph &graph, std::size_t numProcessors, std::vector< IndexType > &targetProcessors)
 Compute graph partition.

Member Typedef Documentation

◆ Graph

template<class IndexType = int>
using Dumux::ScotchPartitioner< IndexType >::Graph = std::vector<std::vector<IndexType>>

the graph type

Member Function Documentation

◆ partition() [1/2]

template<class IndexType = int>
std::vector< IndexType > Dumux::ScotchPartitioner< IndexType >::partition ( const Graph & graph,
std::size_t numProcessors )
inlinestatic

Compute graph partition.

◆ partition() [2/2]

template<class IndexType = int>
void Dumux::ScotchPartitioner< IndexType >::partition ( const Graph & graph,
std::size_t numProcessors,
std::vector< IndexType > & targetProcessors )
inlinestatic

Compute graph partition.


The documentation for this class was generated from the following file: