dune-pdelab  2.7-git
Public Types | Public Member Functions | List of all members
Dune::LegendreStuff::DGLegendreLocalBasis< D, R, k, d > Class Template Reference

Lagrange shape functions of order k on the reference cube. More...

#include <dune/pdelab/finiteelement/qkdglegendre.hh>

Public Types

typedef LocalBasisTraits< D, d, Dune::FieldVector< D, d >, R, 1, Dune::FieldVector< R, 1 >, Dune::FieldMatrix< R, 1, d > > Traits
 

Public Member Functions

 DGLegendreLocalBasis ()
 
unsigned int size () const
 number of shape functions More...
 
void evaluateFunction (const typename Traits::DomainType &x, std::vector< typename Traits::RangeType > &value) const
 Evaluate all shape functions. More...
 
void evaluateJacobian (const typename Traits::DomainType &x, std::vector< typename Traits::JacobianType > &value) const
 Evaluate Jacobian of all shape functions. More...
 
void partial (const std::array< unsigned int, Traits::dimDomain > &order, const typename Traits::DomainType &in, std::vector< typename Traits::RangeType > &out) const
 Evaluate partial derivative of all shape functions. More...
 
unsigned int order () const
 Polynomial order of the shape functions. More...
 

Detailed Description

template<class D, class R, int k, int d>
class Dune::LegendreStuff::DGLegendreLocalBasis< D, R, k, d >

Lagrange shape functions of order k on the reference cube.

Also known as $Q^k$.

Template Parameters
DType to represent the field in the domain.
RType to represent the field in the range.
kPolynomial degree
dDimension of the cube

Member Typedef Documentation

◆ Traits

template<class D , class R , int k, int d>
typedef LocalBasisTraits<D,d,Dune::FieldVector<D,d>,R,1,Dune::FieldVector<R,1>,Dune::FieldMatrix<R,1,d> > Dune::LegendreStuff::DGLegendreLocalBasis< D, R, k, d >::Traits

Constructor & Destructor Documentation

◆ DGLegendreLocalBasis()

template<class D , class R , int k, int d>
Dune::LegendreStuff::DGLegendreLocalBasis< D, R, k, d >::DGLegendreLocalBasis ( )
inline

Member Function Documentation

◆ evaluateFunction()

template<class D , class R , int k, int d>
void Dune::LegendreStuff::DGLegendreLocalBasis< D, R, k, d >::evaluateFunction ( const typename Traits::DomainType &  x,
std::vector< typename Traits::RangeType > &  value 
) const
inline

Evaluate all shape functions.

◆ evaluateJacobian()

template<class D , class R , int k, int d>
void Dune::LegendreStuff::DGLegendreLocalBasis< D, R, k, d >::evaluateJacobian ( const typename Traits::DomainType &  x,
std::vector< typename Traits::JacobianType > &  value 
) const
inline

Evaluate Jacobian of all shape functions.

◆ order()

template<class D , class R , int k, int d>
unsigned int Dune::LegendreStuff::DGLegendreLocalBasis< D, R, k, d >::order ( ) const
inline

Polynomial order of the shape functions.

◆ partial()

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

Evaluate partial derivative of all shape functions.

◆ size()

template<class D , class R , int k, int d>
unsigned int Dune::LegendreStuff::DGLegendreLocalBasis< D, R, k, d >::size ( ) const
inline

number of shape functions


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