Dune Core Modules (unstable)

Dune::HierarchicalP2WithElementBubbleLocalFiniteElement< D, R, dim > Class Template Reference

Linear Lagrange functions enriched with quadratic edge bubble functions and an element bubble function. More...

#include <dune/localfunctions/hierarchical/hierarchicalp2withelementbubble.hh>

Public Types

using LocalBasisType = HierarchicalSimplexP2WithElementBubbleLocalBasis< D, R, dim >
 Type of the local basis.
 
using LocalCoefficientsType = HierarchicalSimplexP2WithElementBubbleLocalCoefficients< dim >
 Type of the local coefficients.
 
using LocalInterpolationType = HierarchicalSimplexP2WithElementBubbleLocalInterpolation< LocalBasisType, dim >
 Type of the local interpolation.
 
using Traits = LocalFiniteElementTraits< LocalBasisType, LocalCoefficientsType, LocalInterpolationType >
 Traits type that specifies the local basis, coefficients, and interpolation type.
 

Public Member Functions

const LocalBasisTypelocalBasis () const
 Returns the local basis, i.e., the set of shape functions.
 
const LocalCoefficientsTypelocalCoefficients () const
 Returns the assignment of the degrees of freedom to the element subentities.
 
const LocalInterpolationTypelocalInterpolation () const
 Returns object that evaluates degrees of freedom.
 

Static Public Member Functions

static constexpr std::size_t size () noexcept
 Returns the number of shape functions in this finite-element.
 
static constexpr GeometryType type () noexcept
 Returns the type of the geometry the finite-element is attached to.
 

Detailed Description

template<class D, class R, int dim>
class Dune::HierarchicalP2WithElementBubbleLocalFiniteElement< D, R, dim >

Linear Lagrange functions enriched with quadratic edge bubble functions and an element bubble function.

The set of basis functions contains the classical Lagrange basis functions of order 1, i.e., the barycentric coordinates, edge bubble functions as the product of two linear functions, and a single element bubble function that vanishes on all faces of the element. The element bubble function is the product of all linear basis functions and thus has polynomial order dim+1.

Note
The implementation here is restricted to simplex elements.
Template Parameters
DType to represent the field in the domain.
RType to represent the field in the range.
dimDimension of the domain.

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.111.3 (Dec 21, 23:30, 2024)