Function Dune::XT::Grid::dimensions

template<class GridLayerType>
Dimensions<GridLayerType> Dune::XT::Grid::dimensions(const GridLayerType &grid_layer)

Returns the Dimensions of the given grid layer.

template<class GridLayerType>
Dimensions<GridLayerType> Dune::XT::Grid::dimensions(const int &entity)

Returns the Dimensions of a single entity of the given grid layer type.

template<class GridType>
Dimensions<typename GridType::LeafGridViewType> Dune::XT::Grid::dimensions(const GridType &grid)

Returns the Dimensions of the leaf grid view of the given grid.