3.5-git
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Types | Static Public Member Functions | List of all members
Dumux::ScotchPartitioner< IndexType > Class Template Reference

#include <dumux/parallel/scotchpartitioner.hh>

Public Types

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

Static Public Member Functions

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

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>
static 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>
static 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: