DUNE PDELab (2.8)

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>

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&).

Constructor & Destructor Documentation

◆ GeometryFiniteElementMap()

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

◆ find()

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:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Dec 22, 23:30, 2024)