Function Dune::XT::Grid::max_number_of_neighbors

Function template Dune::XT::Grid::max_number_of_neighbors

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

Warning

Not optimal, does a whole grid walk!