dune-grid 2.9.0
|
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>
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 |
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.
typedef std::array<int, d> Dune::YaspFixedSizePartitioner< d >::iTupel |
|
inline |
|
inlinefinalvirtualinherited |
Implements Dune::YLoadBalance< d >.
|
inlinefinalvirtualinherited |
Implements Dune::Yasp::Partitioning< d >.