|
dune-localfunctions
2.5.0
|
Lagrange shape functions of arbitrary order on the reference triangle. More...
#include <dune/localfunctions/lagrange/pk2d/pk2dlocalbasis.hh>
Public Types | |
| enum | { N = (k+1)*(k+2)/2 } |
| Export the number of degrees of freedom. More... | |
| enum | { O = k } |
| Export the element order OS: Surprising that we need to export this both statically and dynamically! More... | |
| typedef LocalBasisTraits< D, 2, Dune::FieldVector< D, 2 >, R, 1, Dune::FieldVector< R, 1 >, Dune::FieldMatrix< R, 1, 2 >, 2 > | Traits |
Public Member Functions | |
| Pk2DLocalBasis () | |
| Standard constructor. More... | |
| unsigned int | size () const |
| number of shape functions More... | |
| void | evaluateFunction (const typename Traits::DomainType &x, std::vector< typename Traits::RangeType > &out) const |
| Evaluate all shape functions. More... | |
| void | evaluateJacobian (const typename Traits::DomainType &x, std::vector< typename Traits::JacobianType > &out) const |
| Evaluate Jacobian of all shape functions. More... | |
| void | partial (const std::array< unsigned int, 2 > &order, const typename Traits::DomainType &in, std::vector< typename Traits::RangeType > &out) const |
| Evaluate partial derivatives of any order of all shape functions. More... | |
| template<unsigned int dOrder> | |
| void | evaluate (const std::array< int, dOrder > &directions, const typename Traits::DomainType &in, std::vector< typename Traits::RangeType > &out) const |
| Evaluate higher derivatives of all shape functions. More... | |
| unsigned int | order () const |
| Polynomial order of the shape functions. More... | |
Lagrange shape functions of arbitrary order on the reference triangle.
Lagrange shape functions of arbitrary order have the property that
for certain points
.
| D | Type to represent the field in the domain. |
| R | Type to represent the field in the range. |
| k | Polynomial order. |
| typedef LocalBasisTraits<D,2,Dune::FieldVector<D,2>,R,1,Dune::FieldVector<R,1>, Dune::FieldMatrix<R,1,2>, 2 > Dune::Pk2DLocalBasis< D, R, k >::Traits |
| anonymous enum |
| anonymous enum |
|
inline |
Standard constructor.
|
inline |
Evaluate higher derivatives of 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
1.8.12