3.2-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::ScotchBackend< IndexType > Class Template Reference

#include <dumux/linear/scotchbackend.hh>

Public Types

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

Static Public Member Functions

static std::vector< int > computeGPSReordering (const Graph &graph, std::size_t numPasses=5)
 
static std::vector< int > computeReordering (const Graph &graph, std::string scotchStrategy="")
 Compute graph re-ordering. More...
 
static void computeReordering (const Graph &graph, std::vector< int > &permutation, std::vector< int > &inversePermutation, std::string scotchStrategy="")
 Compute graph re-ordering. More...
 

Member Typedef Documentation

◆ Graph

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

the graph type

Member Function Documentation

◆ computeGPSReordering()

template<class IndexType >
static std::vector< int > Dumux::ScotchBackend< IndexType >::computeGPSReordering ( const Graph graph,
std::size_t  numPasses = 5 
)
inlinestatic

Compute reordering (map[old] -> new) using Gibbs-Poole-Stockmeyer (GPS) re-ordering

◆ computeReordering() [1/2]

template<class IndexType >
static std::vector< int > Dumux::ScotchBackend< IndexType >::computeReordering ( const Graph graph,
std::string  scotchStrategy = "" 
)
inlinestatic

Compute graph re-ordering.

◆ computeReordering() [2/2]

template<class IndexType >
static void Dumux::ScotchBackend< IndexType >::computeReordering ( const Graph graph,
std::vector< int > &  permutation,
std::vector< int > &  inversePermutation,
std::string  scotchStrategy = "" 
)
inlinestatic

Compute graph re-ordering.


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