dune-localfunctions 3.0-git
|
Linear Lagrange shape functions on the simplex. More...
#include <dune/localfunctions/lagrange/p1/p1localbasis.hh>
Public Types | |
typedef LocalBasisTraits< D, dim, Dune::FieldVector< D, dim >, R, 1, Dune::FieldVector< R, 1 >, Dune::FieldMatrix< R, 1, dim >, 2 > | 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, dim > &order, const typename Traits::DomainType &in, std::vector< typename Traits::RangeType > &out) const |
Evaluate partial derivatives of any order of all shape functions. | |
template<unsigned int k> | |
void | evaluate (const typename std::array< int, k > &directions, const typename Traits::DomainType &in, std::vector< typename Traits::RangeType > &out) const |
Evaluate all shape functions. | |
unsigned int | order () const |
Polynomial order of the shape functions. | |
Linear Lagrange shape functions on the simplex.
Defines the linear shape functions on the simplex.
D | Type to represent the field in the domain. |
R | Type to represent the field in the range. |
dim | The dimension of the simplex \nosubgrouping |
typedef LocalBasisTraits<D,dim,Dune::FieldVector<D,dim>,R,1,Dune::FieldVector<R,1>, Dune::FieldMatrix<R,1,dim>, 2> Dune::P1LocalBasis< D, R, dim >::Traits |
export type traits for function signature
|
inline |
Evaluate all shape functions.
|
inline |
Evaluate all shape functions.
|
inline |
Evaluate Jacobian of all shape functions.
|
inline |
Polynomial order of the shape functions.
|
inline |
Evaluate partial derivatives of any order of all shape functions.
order | Order of the partial derivatives, in the classic multi-index notation | |
in | Position where to evaluate the derivatives | |
[out] | out | Return value: the desired partial derivatives |
|
inline |
number of shape functions