dune-localfunctions  2.1.1
Classes | Public Member Functions
Dune::FiniteElementInterface Class Reference

Interface for global-valued finite elements. More...

#include <dune/localfunctions/common/interface.hh>

Inheritance diagram for Dune::FiniteElementInterface:
Inheritance graph

List of all members.

Classes

struct  Traits
 types of component objects More...

Public Member Functions

 FiniteElementInterface (...)
 Construct a finite element.
 FiniteElementInterface (const FiniteElementInterface &)
 Finite elements are CopyConstructible.
const Traits::Basisbasis () const
 Extract basis of this finite element.
const Traits::Coefficientscoefficients () const
 Extract coefficients of this finite element.
const Traits::Interpolationinterpolation () const
 Extract interpolation of this finite element.
GeometryType type () const
 Extract geometry type of this finite element.

Detailed Description

Interface for global-valued finite elements.


Constructor & Destructor Documentation

Construct a finite element.

Note:
The arguments of the constructor are implementation specific. In fact, finite element implementations are not required to be constructible by the user at all (except for copy-construction). The official way to construct a finite element is to use its factory.

Finite elements are CopyConstructible.


Member Function Documentation

Extract basis of this finite element.

The returned lvalue must have a lifetime at least as long as the finite element object is was aquired from.

Reimplemented in Dune::ScalarLocalToGlobalFiniteElementAdaptor< LocalFiniteElement, Geometry >, and Dune::Pk2DFiniteElement< Geometry, RF, k >.

Extract coefficients of this finite element.

The returned lvalue must have a lifetime at least as long as the finite element object is was aquired from.

Reimplemented in Dune::ScalarLocalToGlobalFiniteElementAdaptor< LocalFiniteElement, Geometry >, and Dune::Pk2DFiniteElement< Geometry, RF, k >.

Extract interpolation of this finite element.

The returned lvalue must have a lifetime at least as long as the finite element object is was aquired from.

Reimplemented in Dune::ScalarLocalToGlobalFiniteElementAdaptor< LocalFiniteElement, Geometry >, and Dune::Pk2DFiniteElement< Geometry, RF, k >.

GeometryType Dune::FiniteElementInterface::type ( ) const

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