Dune Core Modules (unstable)

Dune::LagrangeSimplexLocalFiniteElement< D, R, d, k > Class Template Reference

Lagrange finite element for simplices with arbitrary compile-time dimension and polynomial order. More...

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

Public Types

using Traits = LocalFiniteElementTraits< Impl::LagrangeSimplexLocalBasis< D, R, d, k >, Impl::LagrangeSimplexLocalCoefficients< d, k >, Impl::LagrangeSimplexLocalInterpolation< Impl::LagrangeSimplexLocalBasis< D, R, d, k > > >
 Export number types, dimensions, etc.
 

Public Member Functions

 LagrangeSimplexLocalFiniteElement ()
 
template<typename VertexMap >
 LagrangeSimplexLocalFiniteElement (const VertexMap &vertexmap)
 
const Traits::LocalBasisTypelocalBasis () const
 Returns the local basis, i.e., the set of shape functions.
 
const Traits::LocalCoefficientsTypelocalCoefficients () const
 Returns the assignment of the degrees of freedom to the element subentities.
 
const Traits::LocalInterpolationTypelocalInterpolation () const
 Returns object that evaluates degrees of freedom.
 

Static Public Member Functions

static constexpr std::size_t size ()
 The number of shape functions.
 
static constexpr GeometryType type ()
 The reference element that the local finite element is defined on.
 

Detailed Description

template<class D, class R, int d, int k>
class Dune::LagrangeSimplexLocalFiniteElement< D, R, d, k >

Lagrange finite element for simplices with arbitrary compile-time dimension and polynomial order.

Template Parameters
Dtype used for domain coordinates
Rtype used for function values
ddimension of the reference element
kpolynomial order

Constructor & Destructor Documentation

◆ LagrangeSimplexLocalFiniteElement() [1/2]

template<class D , class R , int d, int k>
Dune::LagrangeSimplexLocalFiniteElement< D, R, d, k >::LagrangeSimplexLocalFiniteElement ( )
inline

Default-construct the finite element

◆ LagrangeSimplexLocalFiniteElement() [2/2]

template<class D , class R , int d, int k>
template<typename VertexMap >
Dune::LagrangeSimplexLocalFiniteElement< D, R, d, k >::LagrangeSimplexLocalFiniteElement ( const VertexMap &  vertexmap)
inline

Constructs a finite element given a vertex reordering

This version is deprecated - use the std::array variant instead.


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.80.0 (Mar 27, 23:31, 2024)