dune-localfunctions  2.2.1
Public Types | Public Member Functions | List of all members
Dune::HierarchicalSimplexP2WithElementBubbleLocalBasis< D, R, 3 > Class Template Reference

Hierarchical P2 basis in 1d. More...

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

Public Types

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

Public Member Functions

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

Detailed Description

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

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, 0.0) f_1 ~ (0.5, 0.0, 0.0) f_2 ~ (1.0, 0.0, 0.0) f_3 ~ (0.0, 0.5, 0.0) f_4 ~ (0.5, 0.5, 0.0) f_5 ~ (0.0, 1.0, 0.0) f_6 ~ (0.0, 0.0, 0.5) f_7 ~ (0.5, 0.0, 0.5) f_8 ~ (0.0, 0.5, 0.5) f_9 ~ (0.0, 0.0, 1.0) f_10 ~ (1/3, 1/3, 1/3)

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

Member Typedef Documentation

template<class D , class R >
typedef LocalBasisTraits<D,3,Dune::FieldVector<D,3>,R,1,Dune::FieldVector<R,1>, Dune::FieldMatrix<R,1,3> > Dune::HierarchicalSimplexP2WithElementBubbleLocalBasis< D, R, 3 >::Traits

export type traits for function signature

Member Function Documentation

template<class D , class R >
void Dune::HierarchicalSimplexP2WithElementBubbleLocalBasis< D, R, 3 >::evaluateFunction ( const typename Traits::DomainType in,
std::vector< typename Traits::RangeType > &  out 
) const
inline

Evaluate all shape functions.

template<class D , class R >
void Dune::HierarchicalSimplexP2WithElementBubbleLocalBasis< D, R, 3 >::evaluateJacobian ( const typename Traits::DomainType in,
std::vector< typename Traits::JacobianType > &  out 
) const
inline

Evaluate Jacobian of all shape functions.

template<class D , class R >
unsigned int Dune::HierarchicalSimplexP2WithElementBubbleLocalBasis< D, R, 3 >::order ( ) const
inline

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

template<class D , class R >
unsigned int Dune::HierarchicalSimplexP2WithElementBubbleLocalBasis< D, R, 3 >::size ( ) const
inline

number of shape functions


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