dune-grid 3.0-git
Functions
Dune::Yasp Namespace Reference

Functions

template<int d, typename ct >
std::array< int, d > sizeArray (const std::array< std::vector< ct >, d > &v)
 

Function Documentation

◆ 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