dune-grid 2.9.0
Public Types | Public Member Functions | List of all members
Dune::Yasp::FixedSizePartitioning< 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::Yasp::FixedSizePartitioning< d >:
Inheritance graph

Public Types

using iTupel = std::array< int, d >
 

Public Member Functions

 FixedSizePartitioning (const std::array< int, d > &dims)
 
virtual ~FixedSizePartitioning ()
 
void partition (const std::array< int, d > &, int P, std::array< int, d > &dims, int overlap) const final
 

Detailed Description

template<int d>
class Dune::Yasp::FixedSizePartitioning< 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>
using Dune::Yasp::Partitioning< d >::iTupel = std::array<int, d>
inherited

Constructor & Destructor Documentation

◆ FixedSizePartitioning()

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

◆ ~FixedSizePartitioning()

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

Member Function Documentation

◆ partition()

template<int d>
void Dune::Yasp::FixedSizePartitioning< d >::partition ( const std::array< int, d > &  ,
int  P,
std::array< int, d > &  dims,
int  overlap 
) const
inlinefinalvirtual

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