Dune Core Modules (unstable)

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

P1 basis in dim-d enriched by quadratic edge bubble functions and an element bubble function of order dim+1. More...

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

Public Types

using Traits = LocalBasisTraits< D, dim, DomainType, R, 1, RangeType, JacobianType >
 Type traits for function signature.
 

Static Public Member Functions

static constexpr std::size_t size () noexcept
 Returns number of shape functions.
 
static constexpr void evaluateFunction (const DomainType &in, std::vector< RangeType > &out)
 Evaluate all shape functions.
 
static constexpr void evaluateJacobian (const DomainType &in, std::vector< JacobianType > &out)
 Evaluate Jacobian of all shape functions.
 
static constexpr void partial (const std::array< unsigned int, dim > &order, const DomainType &in, std::vector< RangeType > &out)
 Evaluate partial derivatives of all shape functions.
 
static constexpr unsigned int order () noexcept
 Polynomial order of the shape functions (4 in this case)
 

Detailed Description

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

P1 basis in dim-d enriched by quadratic edge bubble functions and an element bubble function of order dim+1.

The shape functions are associated to the vertices, the edges centers, and to the element barycenter. The bubble function is the product of the linear vertex basis functions. On the edges the basis functions are scaled by the factor 4 and inside the element by the factor (dim+1)^(dim+1).

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 (Oct 13, 22:30, 2024)