dune-grid  2.6-git
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)
 
virtual ~YaspFixedSizePartitioner ()
 
virtual void loadbalance (const std::array< int, d > &, int P, std::array< int, d > &dims) const
 

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.

Member Typedef Documentation

◆ iTupel

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

Constructor & Destructor Documentation

◆ YaspFixedSizePartitioner()

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

◆ ~YaspFixedSizePartitioner()

template<int d>
virtual Dune::YaspFixedSizePartitioner< d >::~YaspFixedSizePartitioner ( )
inlinevirtual

Member Function Documentation

◆ loadbalance()

template<int d>
virtual void Dune::YaspFixedSizePartitioner< d >::loadbalance ( const std::array< int, d > &  ,
int  P,
std::array< int, d > &  dims 
) const
inlinevirtual

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