dune-localfunctions 2.10
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
Dune::HierarchicalSimplexP2LocalBasis< D, R, 1 > Class Template Reference

Hierarchical P2 basis in 1d. More...

#include <dune/localfunctions/hierarchical/hierarchicalp2/hierarchicalsimplexp2localbasis.hh>

Public Types

typedef LocalBasisTraits< D, 1, Dune::FieldVector< D, 1 >, R, 1, Dune::FieldVector< R, 1 >, Dune::FieldMatrix< R, 1, 1 > > 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, 1 > &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 (2, in this case)
 

Detailed Description

template<class D, class R>
class Dune::HierarchicalSimplexP2LocalBasis< D, R, 1 >

Hierarchical P2 basis in 1d.

The shape functions are associated to the following points:

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

Member Typedef Documentation

◆ Traits

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

export type traits for function signature

Member Function Documentation

◆ evaluateFunction()

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

Evaluate all shape functions.

◆ evaluateJacobian()

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

Evaluate Jacobian of all shape functions.

◆ order()

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

Polynomial order of the shape functions (2, in this case)

◆ partial()

template<class D , class R >
void Dune::HierarchicalSimplexP2LocalBasis< D, R, 1 >::partial ( const std::array< unsigned int, 1 > &  order,
const typename Traits::DomainType in,
std::vector< typename Traits::RangeType > &  out 
) const
inline

Evaluate partial derivatives of all shape functions.

◆ size()

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

number of shape functions


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