Function Dune::XT::Grid::max_number_of_neighbors

template<class GridLayerType>
size_t Dune::XT::Grid::max_number_of_neighbors(const GridLayerType &grid_layer)

Warning

Not optimal, does a whole grid walk!