dune-localfunctions  2.3.1
Classes | Public Member Functions | List of all members
Dune::Pk1DFiniteElement< Geometry, RF, k > Class Template Reference

Langrange finite element of arbitrary order on triangles. More...

#include <dune/localfunctions/lagrange/pk1d.hh>

Inheritance diagram for Dune::Pk1DFiniteElement< Geometry, RF, k >:
Dune::FiniteElementInterface

Classes

struct  Traits

Public Member Functions

template<class VertexOrder >
 Pk1DFiniteElement (const Geometry &geometry, const VertexOrder &vertexOrder)
 construct a Pk1DFiniteElement
const Traits::Basisbasis () const
 Extract basis of this finite element.
const Traits::Interpolationinterpolation () const
 Extract interpolation of this finite element.
const Traits::Coefficientscoefficients () const
 Extract coefficients of this finite element.
const GeometryType & type () const
 Extract geometry type of this finite element.

Detailed Description

template<class Geometry, class RF, std::size_t k>
class Dune::Pk1DFiniteElement< Geometry, RF, k >

Langrange finite element of arbitrary order on triangles.

Template Parameters
GeometryGeometry for the local to global transformation.
RFField type of the range.
kMaximum polynomial order of the base functions.

Constructor & Destructor Documentation

template<class Geometry , class RF , std::size_t k>
template<class VertexOrder >
Dune::Pk1DFiniteElement< Geometry, RF, k >::Pk1DFiniteElement ( const Geometry &  geometry,
const VertexOrder &  vertexOrder 
)
inline

construct a Pk1DFiniteElement

Parameters
geometryThe geometry object to use for adaption.
vertexOrderThe global ordering of the vertices within the grid, used to determine orientation of the edges. This vertexOrder object must support codim=0.
Note
This class stores the reference to the geometry passed here. Any use of this class after this references has become invalid results in undefined behaviour. The exception is that the destructor of this class may still be called. The information contained in the vertexOrder object is extracted and the object is no longer needed after the contructor returns.

Member Function Documentation

template<class Geometry , class RF , std::size_t k>
const Traits::Basis& Dune::Pk1DFiniteElement< Geometry, RF, k >::basis ( ) const
inline

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 from Dune::FiniteElementInterface.

template<class Geometry , class RF , std::size_t k>
const Traits::Coefficients& Dune::Pk1DFiniteElement< Geometry, RF, k >::coefficients ( ) const
inline

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 from Dune::FiniteElementInterface.

template<class Geometry , class RF , std::size_t k>
const Traits::Interpolation& Dune::Pk1DFiniteElement< Geometry, RF, k >::interpolation ( ) const
inline

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 from Dune::FiniteElementInterface.

template<class Geometry , class RF , std::size_t k>
const GeometryType& Dune::Pk1DFiniteElement< Geometry, RF, k >::type ( ) const
inline

Extract geometry type of this finite element.

Reimplemented from Dune::FiniteElementInterface.


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