dune-grid 2.9.0
Classes | Functions
Dune::Yasp Namespace Reference

Classes

class  DefaultPartitioning
 
class  FixedSizePartitioning
 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...
 
class  Partitioning
 a base class for the yaspgrid partitioning strategy More...
 
class  PowerDPartitioning
 Implement yaspgrid load balance strategy for P=x^{dim} processors. More...
 

Functions

template<class ctype , std::size_t dim>
bool checkIfMonotonous (const std::array< std::vector< ctype >, dim > &coords)
 
template<int d, typename ct >
std::array< int, d > sizeArray (const std::array< std::vector< ct >, d > &v)
 

Function Documentation

◆ checkIfMonotonous()

template<class ctype , std::size_t dim>
bool Dune::Yasp::checkIfMonotonous ( const std::array< std::vector< ctype >, dim > &  coords)

◆ sizeArray()

template<int d, typename ct >
std::array< int, d > Dune::Yasp::sizeArray ( const std::array< std::vector< ct >, d > &  v)
Returns
an array containing the sizes of the grids associated with vectors in given array. Needed in this form due to the need of such functionality in class initializer lists.
Parameters
vthe array of vectors to examine