dune-localfunctions  2.2.0
Public Types | Public Member Functions
Dune::MonomLocalBasis< D, R, d, p, diffOrder > Class Template Reference

Constant shape function. More...

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

List of all members.

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

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.
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
void evaluateJacobian (const typename Traits::DomainType &in, std::vector< typename Traits::JacobianType > &out) const
 Evaluate Jacobian of all shape functions.
unsigned int order () const
 Polynomial order of the shape functions.

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: