Function Dune::XT::Grid::reference_element¶
Function template Dune::XT::Grid::reference_element¶
-
template<int codim, int worlddim, class GridImp, template<int, int, class> class EntityImp>
auto Dune::XT::Grid::reference_element(const Dune::Entity<codim, worlddim, GridImp, EntityImp> &entity) -> decltype(ReferenceElements<typename GridImp::ctype, worlddim>::general(entity.type()))¶ Returns the reference element associated with the given entity.
Function template Dune::XT::Grid::reference_element¶
-
template<int mydim, int cdim, class GridImp, template<int, int, class> class GeometryImp>
auto Dune::XT::Grid::reference_element(const Dune::Geometry<mydim, cdim, GridImp, GeometryImp> &geometry) -> decltype(ReferenceElements<typename GridImp::ctype, mydim>::general(geometry.type()))¶ Returns the reference element associated with the given geometry.