|
| int | order () const noexcept |
| | return order of shape functions More...
|
| |
| std::size_t | size () const noexcept |
| | return number of shape functions More...
|
| |
| template<class Point , class Functor > |
| void | evaluateEach (const Point &x, Functor functor) const noexcept |
| | evalute each shape function More...
|
| |
| template<class Point , class Functor > |
| void | jacobianEach (const Point &x, Functor functor) const noexcept |
| | evalute jacobian of each shape function More...
|
| |
| template<class Point , class Functor > |
| void | hessianEach (const Point &x, Functor functor) const noexcept |
| | evalute hessian of each shape function More...
|
| |
|
| | LegendreShapeFunctionSet ()=default |
| | default constructor resulting in uninitialized shape function set More...
|
| |
| | LegendreShapeFunctionSet (int order) |
| | initialize with polynomial order More...
|
| |
| template<class Factory > |
| | LegendreShapeFunctionSet (const Factory &factory) |
| | initialize from user-defined factory object More...
|
| |
template<class FunctionSpace, bool hierarchicalOrdering = false>
class Dune::Fem::LegendreShapeFunctionSet< FunctionSpace, hierarchicalOrdering >
a Dune::Fem::ShapeFunctionSet of Legendre ansatz polynomials
- Note
- The range field type used in the evaluation is fixed to
double.
-
This shape function set can only be used with cubic reference elements.
- Template Parameters
-
| FunctionSpace | (scalar) function space |
| hierarchicalOrdering | (bool) if true shape functions are ordered according to their polynomial order |
template<class FunctionSpace , bool hierarchicalOrdering = false>
template<class Point , class Functor >
evalute each shape function
- Parameters
-
| [in] | x | coordinate or quadrature point |
| [in] | functor | functor call for evaluating each shape function |
The functor has to be a copyable object satisfying the following interface:
struct Functor
{
template< class Value >
void operator() ( const int shapeFunction, const Value &value );
};
template<class FunctionSpace , bool hierarchicalOrdering = false>
template<class Point , class Functor >
evalute hessian of each shape function
- Parameters
-
| [in] | x | coordinate or quadrature point |
| [in] | functor | functor call for evaluating the hessian of each shape function |
The functor has to be a copyable object satisfying the following interface:
struct Functor
{
template< class Hessian >
void operator() ( const int shapeFunction, const Hessian &hessian );
};
template<class FunctionSpace , bool hierarchicalOrdering = false>
template<class Point , class Functor >
evalute jacobian of each shape function
- Parameters
-
| [in] | x | coordinate or quadrature point |
| [in] | functor | functor call for evaluating the jacobian of each shape function |
The functor has to be a copyable object satisfying the following interface:
struct Functor
{
template< class Jacobian >
void operator() ( const int shapeFunction, const Jacobian &jacobian );
};