dune-localfunctions  2.2.1
Public Types | Public Member Functions | List of all members
Dune::MonomLocalBasis< D, R, d, p, diffOrder > Class Template Reference

Constant shape function. More...

#include <dune/localfunctions/monom/monomlocalbasis.hh>

Public Types

typedef LocalBasisTraits< D, d,
Dune::FieldVector< D, d >, R,
1, Dune::FieldVector< R, 1 >
, Dune::FieldMatrix< R, 1, d >
, diffOrder > 
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...
 
template<unsigned int k>
void evaluate (const array< int, k > &directions, const typename Traits::DomainType &in, std::vector< typename Traits::RangeType > &out) const
 return given derivative of all components 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. More...
 

Detailed Description

template<class D, class R, unsigned int d, unsigned int p, unsigned diffOrder = p>
class Dune::MonomLocalBasis< D, R, d, p, diffOrder >

Constant shape function.

Defines the constant scalar shape function in d dimensions. Is valid on any type of reference element.

Template Parameters
DType to represent the field in the domain.
RType to represent the field in the range.
dDomain dimension
ppolynomial order of the shapefunctions
diffOrderMaximum differentiation order to report in the traits.

Member Typedef Documentation

template<class D , class R , unsigned int d, unsigned int p, unsigned diffOrder = p>
typedef LocalBasisTraits<D,d,Dune::FieldVector<D,d>,R,1,Dune::FieldVector<R,1>, Dune::FieldMatrix<R,1,d>,diffOrder> Dune::MonomLocalBasis< D, R, d, p, diffOrder >::Traits

export type traits for function signature

Member Function Documentation

template<class D , class R , unsigned int d, unsigned int p, unsigned diffOrder = p>
template<unsigned int k>
void Dune::MonomLocalBasis< D, R, d, p, diffOrder >::evaluate ( const array< int, k > &  directions,
const typename Traits::DomainType in,
std::vector< typename Traits::RangeType > &  out 
) const
inline

return given derivative of all components

References Dune::MonomLocalBasis< D, R, d, p, diffOrder >::size().

template<class D , class R , unsigned int d, unsigned int p, unsigned diffOrder = p>
void Dune::MonomLocalBasis< D, R, d, p, diffOrder >::evaluateFunction ( const typename Traits::DomainType in,
std::vector< typename Traits::RangeType > &  out 
) const
inline

Evaluate all shape functions.

template<class D , class R , unsigned int d, unsigned int p, unsigned diffOrder = p>
void Dune::MonomLocalBasis< D, R, d, p, diffOrder >::evaluateJacobian ( const typename Traits::DomainType in,
std::vector< typename Traits::JacobianType > &  out 
) const
inline

Evaluate Jacobian of all shape functions.

References Dune::MonomLocalBasis< D, R, d, p, diffOrder >::size().

template<class D , class R , unsigned int d, unsigned int p, unsigned diffOrder = p>
unsigned int Dune::MonomLocalBasis< D, R, d, p, diffOrder >::order ( ) const
inline

Polynomial order of the shape functions.

template<class D , class R , unsigned int d, unsigned int p, unsigned diffOrder = p>
unsigned int Dune::MonomLocalBasis< D, R, d, p, diffOrder >::size ( ) const
inline

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