dune-localfunctions 2.12-git
Loading...
Searching...
No Matches
Dune::LagrangeCubeLocalFiniteElement< D, R, dim, compileTimeOrder > Class Template Reference

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

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

Inheritance diagram for Dune::LagrangeCubeLocalFiniteElement< D, R, dim, compileTimeOrder >:
Inheritance graph

Public Types

using Traits = LocalFiniteElementTraits< Impl::LagrangeCubeLocalBasis< D, R, dim, compileTimeOrder >, Impl::LagrangeCubeLocalCoefficients< dim, compileTimeOrder >, Impl::LagrangeCubeLocalInterpolation< D, R, dim, compileTimeOrder > >
 Export number types, dimensions, etc.
 

Public Member Functions

constexpr LagrangeCubeLocalFiniteElement ()
 Constructor for static order.
 
constexpr LagrangeCubeLocalFiniteElement (int runTimeOrder)
 Constructor for dynamic order.
 
constexpr const Traits::LocalBasisTypelocalBasis () const
 Returns the local basis, i.e., the set of shape functions.
 
constexpr const Traits::LocalCoefficientsTypelocalCoefficients () const
 Returns the assignment of the degrees of freedom to the element subentities.
 
constexpr const Traits::LocalInterpolationTypelocalInterpolation () const
 Returns object that evaluates degrees of freedom.
 

Static Public Member Functions

static constexpr GeometryType type ()
 The reference element that the local finite element is defined on.
 

Detailed Description

template<class D, class R, int dim, int compileTimeOrder = -1>
class Dune::LagrangeCubeLocalFiniteElement< D, R, dim, compileTimeOrder >

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

Template Parameters
DType used for domain coordinates
RType used for function values
dimdimension of the reference element
compileTimeOrderPolynomial order in one coordinate direction. The default -1 means "order provided at run-time"

Member Typedef Documentation

◆ Traits

template<class D , class R , int dim, int compileTimeOrder = -1>
using Dune::LagrangeCubeLocalFiniteElement< D, R, dim, compileTimeOrder >::Traits = LocalFiniteElementTraits< Impl::LagrangeCubeLocalBasis<D,R,dim,compileTimeOrder>, Impl::LagrangeCubeLocalCoefficients<dim,compileTimeOrder>, Impl::LagrangeCubeLocalInterpolation<D,R,dim,compileTimeOrder> >

Export number types, dimensions, etc.

Constructor & Destructor Documentation

◆ LagrangeCubeLocalFiniteElement() [1/2]

template<class D , class R , int dim, int compileTimeOrder = -1>
constexpr Dune::LagrangeCubeLocalFiniteElement< D, R, dim, compileTimeOrder >::LagrangeCubeLocalFiniteElement ( )
inlineconstexpr

Constructor for static order.

◆ LagrangeCubeLocalFiniteElement() [2/2]

template<class D , class R , int dim, int compileTimeOrder = -1>
constexpr Dune::LagrangeCubeLocalFiniteElement< D, R, dim, compileTimeOrder >::LagrangeCubeLocalFiniteElement ( int  runTimeOrder)
inlineexplicitconstexpr

Constructor for dynamic order.

Member Function Documentation

◆ localBasis()

template<class D , class R , int dim, int compileTimeOrder = -1>
constexpr const Traits::LocalBasisType & Dune::LagrangeCubeLocalFiniteElement< D, R, dim, compileTimeOrder >::localBasis ( ) const
inlineconstexpr

Returns the local basis, i.e., the set of shape functions.

◆ localCoefficients()

template<class D , class R , int dim, int compileTimeOrder = -1>
constexpr const Traits::LocalCoefficientsType & Dune::LagrangeCubeLocalFiniteElement< D, R, dim, compileTimeOrder >::localCoefficients ( ) const
inlineconstexpr

Returns the assignment of the degrees of freedom to the element subentities.

◆ localInterpolation()

template<class D , class R , int dim, int compileTimeOrder = -1>
constexpr const Traits::LocalInterpolationType & Dune::LagrangeCubeLocalFiniteElement< D, R, dim, compileTimeOrder >::localInterpolation ( ) const
inlineconstexpr

Returns object that evaluates degrees of freedom.

◆ type()

template<class D , class R , int dim, int compileTimeOrder = -1>
static constexpr GeometryType Dune::LagrangeCubeLocalFiniteElement< D, R, dim, compileTimeOrder >::type ( )
inlinestaticconstexpr

The reference element that the local finite element is defined on.


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