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

FiniteElement for lowest order edge elements on simplices. More...

#include <dune/localfunctions/whitney/edges0.5.hh>

Classes

struct  Traits
 

Public Member Functions

template<class VertexOrder >
 EdgeS0_5FiniteElement (const Geometry &geo, const VertexOrder &vertexOrder)
 Constructor. More...
 
const Traits::Basisbasis () const
 return reference to the basis object More...
 
const Traits::Interpolationinterpolation () const
 return reference to the interpolation object More...
 
const Traits::Coefficientscoefficients () const
 return reference to the coefficients object More...
 
const GeometryType & type () const
 return geometry type of this element More...
 

Detailed Description

template<class Geometry, class RF>
class Dune::EdgeS0_5FiniteElement< Geometry, RF >

FiniteElement for lowest order edge elements on simplices.

Uses the representation

\[ \mathbf N^i=(L^{i_0}\nabla L^{i_1}- L^{i_1}\nabla L^{i_0})\ell^i \]

where $L^k$ is the P1 shape function for vertex $k$, $i_0$ and $i_1$ are the indices of the vertices of edge $i$ and $\ell^i$ is the length of edge $i$.

Template Parameters
DType to represent the field in the domain.
RType to represent the field in the range.
dimDimension of both domain and range.

Constructor & Destructor Documentation

template<class Geometry , class RF >
template<class VertexOrder >
Dune::EdgeS0_5FiniteElement< Geometry, RF >::EdgeS0_5FiniteElement ( const Geometry &  geo,
const VertexOrder &  vertexOrder 
)
inline

Constructor.

Parameters
geoGeometry of the element to contruct a local basis for.
vertexOrderVertex ordering information. Only the vertex order on the dim=1 sub-entities (edges) is required.

Member Function Documentation

template<class Geometry , class RF >
const Traits::Basis& Dune::EdgeS0_5FiniteElement< Geometry, RF >::basis ( ) const
inline

return reference to the basis object

template<class Geometry , class RF >
const Traits::Coefficients& Dune::EdgeS0_5FiniteElement< Geometry, RF >::coefficients ( ) const
inline

return reference to the coefficients object

template<class Geometry , class RF >
const Traits::Interpolation& Dune::EdgeS0_5FiniteElement< Geometry, RF >::interpolation ( ) const
inline

return reference to the interpolation object

template<class Geometry , class RF >
const GeometryType& Dune::EdgeS0_5FiniteElement< Geometry, RF >::type ( ) const
inline

return geometry type of this element


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