dune-localfunctions 3.0-git
Public Types | Public Member Functions | List of all members
Dune::PrismP1LocalBasis< D, R > Class Template Reference

Linear Lagrange shape functions on the prism. More...

#include <dune/localfunctions/lagrange/prismp1/prismp1localbasis.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
 

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, 3 > &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.
 

Detailed Description

template<class D, class R>
class Dune::PrismP1LocalBasis< D, R >

Linear Lagrange shape functions on the prism.

Defines the linear shape functions on the prism.

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,3,Dune::FieldVector<D,3>,R,1,Dune::FieldVector<R,1>, Dune::FieldMatrix<R,1,3> > Dune::PrismP1LocalBasis< D, R >::Traits

export type traits for function signature

Member Function Documentation

◆ evaluateFunction()

template<class D , class R >
void Dune::PrismP1LocalBasis< D, R >::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::PrismP1LocalBasis< D, R >::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::PrismP1LocalBasis< D, R >::order ( ) const
inline

Polynomial order of the shape functions.

◆ partial()

template<class D , class R >
void Dune::PrismP1LocalBasis< D, R >::partial ( const std::array< unsigned int, 3 > &  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::PrismP1LocalBasis< D, R >::size ( ) const
inline

number of shape functions


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