dune-pdelab  2.4-dev
Public Types | Public Member Functions | List of all members
Dune::PDELab::GeometryFiniteElementMap< Factory > Class Template Reference

Generic finite element map for global finite elements created with a geometry. More...

#include <dune/pdelab/finiteelementmap/global.hh>

Inheritance diagram for Dune::PDELab::GeometryFiniteElementMap< Factory >:
Inheritance graph

Public Types

typedef FiniteElementMapTraits< typename Factory::FiniteElement > Traits
 

Public Member Functions

 GeometryFiniteElementMap (Factory &factory_)
 construct GeometryFiniteElementMap More...
 
template<class Element >
Traits::FiniteElementType find (const Element &e) const
 Return finite element for the given entity. More...
 

Detailed Description

template<class Factory>
class Dune::PDELab::GeometryFiniteElementMap< Factory >

Generic finite element map for global finite elements created with a geometry.

Template Parameters
FactoryFinite element factory class that supports make(const Geometry&).

Member Typedef Documentation

template<class Factory>
typedef FiniteElementMapTraits<typename Factory::FiniteElement> Dune::PDELab::GeometryFiniteElementMap< Factory >::Traits

Constructor & Destructor Documentation

template<class Factory>
Dune::PDELab::GeometryFiniteElementMap< Factory >::GeometryFiniteElementMap ( Factory &  factory_)
inline

construct GeometryFiniteElementMap

Parameters
factory_Reference to a factory object.
Note
The constructed finite element map object stores a reference to to factory object. The finite element map object becomes invalid as soon the reference to the factory becomes invalid. The only allowed operation on an invalid finite element map is calling the destructor, all other operations result in undefined behaviour.

Member Function Documentation

template<class Factory>
template<class Element >
Traits::FiniteElementType Dune::PDELab::GeometryFiniteElementMap< Factory >::find ( const Element &  e) const
inline

Return finite element for the given entity.

Parameters
eGrid element to create a finite element for.

The returned value is valid for as long as both this finite element map as well as the reference to the grid element are valid.


The documentation for this class was generated from the following file: