dune-grid 2.9.1
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
Dune::YaspFixedSizePartitioner< d > Class Template Reference

Implement partitioner that gets a fixed partitioning from an array If the given partitioning doesn't match the number of processors, the grid should be distributed to, an exception is thrown. More...

#include <dune/grid/yaspgrid/partitioning.hh>

Inheritance diagram for Dune::YaspFixedSizePartitioner< d >:
Inheritance graph

Public Types

typedef std::array< int, d > iTupel
 

Public Member Functions

 YaspFixedSizePartitioner (const std::array< int, d > &dims)
 
void loadbalance (const iTupel &size, int P, iTupel &dims) const final
 
void partition (const iTupel &size, int P, iTupel &dims, int overlap) const final
 

Detailed Description

template<int d>
class Dune::YaspFixedSizePartitioner< d >

Implement partitioner that gets a fixed partitioning from an array If the given partitioning doesn't match the number of processors, the grid should be distributed to, an exception is thrown.

Deprecated
use FixedSizePartitioning

Member Typedef Documentation

◆ iTupel

template<int d>
typedef std::array<int, d> Dune::YaspFixedSizePartitioner< d >::iTupel

Constructor & Destructor Documentation

◆ YaspFixedSizePartitioner()

template<int d>
Dune::YaspFixedSizePartitioner< d >::YaspFixedSizePartitioner ( const std::array< int, d > & dims)
inline

Member Function Documentation

◆ loadbalance()

template<int d>
void Dune::YLoadBalanceForward< d >::loadbalance ( const iTupel & size,
int P,
iTupel & dims ) const
inlinefinalvirtualinherited

◆ partition()

template<int d>
void Dune::YLoadBalance< d >::partition ( const iTupel & size,
int P,
iTupel & dims,
int overlap ) const
inlinefinalvirtualinherited

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