Dune::MonomLocalBasis< D, R, d, p > 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 >
, p > 
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>
class Dune::MonomLocalBasis< D, R, d, p >

Constant shape function.

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

Template Parameters:
D Type to represent the field in the domain.
R Type to represent the field in the range.
d Domain dimension
p polynomial order of the shapefunctions

Member Typedef Documentation

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

export type traits for function signature


Member Function Documentation

template<class D , class R , unsigned int d, unsigned int p>
template<unsigned int k>
void Dune::MonomLocalBasis< D, R, d, p >::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 >::size().

template<class D , class R , unsigned int d, unsigned int p>
void Dune::MonomLocalBasis< D, R, d, p >::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>
void Dune::MonomLocalBasis< D, R, d, p >::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 >::size().

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

Polynomial order of the shape functions.

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

The documentation for this class was generated from the following file:
Generated on Sat Apr 24 11:15:38 2010 for dune-localfunctions by  doxygen 1.6.3