Function Dune::XT::Grid::sub_entity_index

Function template Dune::XT::Grid::sub_entity_index

template<typename G, typename MapperImp, typename IndexType, int dim, class GridImp, template<int, int, class> class EntityImp, int cd = GridImp::dimension>
int Dune::XT::Grid::sub_entity_index(const Dune::Mapper<G, MapperImp, IndexType> &mapper, const int element, const int codim, const int i)

Returns the mapper index of the i-th sub-entity of given codimension of an element.