dune-localfunctions 2.10
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | List of all members
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.

Member Typedef Documentation

◆ Traits

template<class D , class R , int dim>
using Dune::HierarchicalSimplexP2WithElementBubbleLocalBasis< D, R, dim >::Traits = LocalBasisTraits<D,dim,DomainType,R,1,RangeType,JacobianType>

Type traits for function signature.

Member Function Documentation

◆ evaluateFunction()

template<class D , class R , int dim>
static constexpr void Dune::HierarchicalSimplexP2WithElementBubbleLocalBasis< D, R, dim >::evaluateFunction ( const DomainType &  in,
std::vector< RangeType > &  out 
)
inlinestaticconstexpr

Evaluate all shape functions.

◆ evaluateJacobian()

template<class D , class R , int dim>
static constexpr void Dune::HierarchicalSimplexP2WithElementBubbleLocalBasis< D, R, dim >::evaluateJacobian ( const DomainType &  in,
std::vector< JacobianType > &  out 
)
inlinestaticconstexpr

Evaluate Jacobian of all shape functions.

◆ order()

template<class D , class R , int dim>
static constexpr unsigned int Dune::HierarchicalSimplexP2WithElementBubbleLocalBasis< D, R, dim >::order ( )
inlinestaticconstexprnoexcept

Polynomial order of the shape functions (4 in this case)

◆ partial()

template<class D , class R , int dim>
static constexpr void Dune::HierarchicalSimplexP2WithElementBubbleLocalBasis< D, R, dim >::partial ( const std::array< unsigned int, dim > &  order,
const DomainType &  in,
std::vector< RangeType > &  out 
)
inlinestaticconstexpr

Evaluate partial derivatives of all shape functions.

◆ size()

template<class D , class R , int dim>
static constexpr std::size_t Dune::HierarchicalSimplexP2WithElementBubbleLocalBasis< D, R, dim >::size ( )
inlinestaticconstexprnoexcept

Returns number of shape functions.


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