- Home
- About DUNE
- Download
- Documentation
- Community
- Development
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 > , 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. |
Constant shape function.
Defines the constant scalar shape function in d dimensions. Is valid on any type of reference element.
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 |
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
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().
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.
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().
unsigned int Dune::MonomLocalBasis< D, R, d, p >::order | ( | ) | const [inline] |
Polynomial order of the shape functions.
unsigned int Dune::MonomLocalBasis< D, R, d, p >::size | ( | ) | const [inline] |
number of shape functions
Referenced by Dune::MonomLocalBasis< D, R, d, p >::evaluate(), and Dune::MonomLocalBasis< D, R, d, p >::evaluateJacobian().
Generated on Fri Apr 29 2011 with Doxygen (ver 1.7.1) [doxygen-log,error-log].