4#ifndef DUNE_PDELAB_FINITEELEMENTMAP_GLOBAL_HH
5#define DUNE_PDELAB_FINITEELEMENTMAP_GLOBAL_HH
18 template<
class Factory>
46 template<
class Element>
47 typename Traits::FiniteElementType
find(
const Element& e)
const {
48 return factory.make(e.geometry());
60 template<
class FEFactory,
class VOFactory>
64 const VOFactory& voFactory;
82 const VOFactory & voFactory_) :
83 feFactory(feFactory_), voFactory(voFactory_)
93 template<
class Element>
94 typename Traits::FiniteElementType
find(
const Element& e)
const {
95 return feFactory.make(e.geometry(), voFactory.make(e));
For backward compatibility – Do not use this!
Definition adaptivity.hh:28
collect types exported by a finite element map
Definition finiteelementmap.hh:28
Generic finite element map for global finite elements created with a geometry.
Definition global.hh:20
Traits::FiniteElementType find(const Element &e) const
Return finite element for the given entity.
Definition global.hh:47
GeometryFiniteElementMap(Factory &factory_)
construct GeometryFiniteElementMap
Definition global.hh:37
FiniteElementMapTraits< typename Factory::FiniteElement > Traits
Definition global.hh:24
Generic finite element map for global finite elements created with a geometry and a vertex ordering.
Definition global.hh:62
Traits::FiniteElementType find(const Element &e) const
Return finite element for the given entity.
Definition global.hh:94
FiniteElementMapTraits< typename FEFactory::FiniteElement > Traits
Definition global.hh:67
GeometryVertexOrderFiniteElementMap(FEFactory &feFactory_, const VOFactory &voFactory_)
construct GeometryFiniteElementMap
Definition global.hh:81