Dune Core Modules (2.9.1)

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

Hierarchical P2 basis in 1d. More...

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

Public Types

typedef LocalBasisTraits< D, 2, Dune::FieldVector< D, 2 >, R, 1, Dune::FieldVector< R, 1 >, Dune::FieldMatrix< R, 1, 2 > > Traits
 export type traits for function signature
 

Public Member Functions

unsigned int size () const
 number of shape functions
 
void evaluateFunction (const typename Traits::DomainType &in, std::vector< typename Traits::RangeType > &out) const
 Evaluate all shape functions.
 
void evaluateJacobian (const typename Traits::DomainType &in, std::vector< typename Traits::JacobianType > &out) const
 Evaluate Jacobian of all shape functions.
 
void partial (const std::array< unsigned int, 2 > &order, const typename Traits::DomainType &in, std::vector< typename Traits::RangeType > &out) const
 Evaluate partial derivatives of all shape functions.
 
unsigned int order () const
 Polynomial order of the shape functions (3 in this case)
 

Detailed Description

template<class D, class R>
class Dune::HierarchicalSimplexP2WithElementBubbleLocalBasis< D, R, 2 >

Hierarchical P2 basis in 1d.

The shape functions are associated to the following points:

The functions are associated to points by:

f_0 ~ (0.0, 0.0) f_1 ~ (0.5, 0.0) f_2 ~ (1.0, 0.0) f_3 ~ (0.0, 0.5) f_4 ~ (0.5, 0.5) f_5 ~ (0.0, 1.0) f_6 ~ (1/3, 1/3)

Template Parameters
DType to represent the field in the domain.
RType to represent the field in the range.

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