|
dune-fem 2.12-git
|
a Dune::Fem::ShapeFunctionSet of Legendre ansatz polynomials More...
#include <dune/fem/space/shapefunctionset/legendre.hh>

Classes | |
| struct | Compare |
Public Types | |
| typedef FunctionSpace | FunctionSpaceType |
| function space type | |
| typedef FunctionSpaceType::DomainType | DomainType |
| domain type | |
| typedef FunctionSpaceType::RangeType | RangeType |
| range type | |
| typedef FunctionSpaceType::JacobianRangeType | JacobianRangeType |
| jacobian range type | |
| typedef FunctionSpaceType::HessianRangeType | HessianRangeType |
| hessian range type | |
Public Member Functions | |
| int | order () const noexcept |
| return order of shape functions | |
| std::size_t | size () const noexcept |
| return number of shape functions | |
| template<class Point , class Functor > | |
| void | evaluateEach (const Point &x, Functor functor) const noexcept |
| evalute each shape function | |
| template<class Point , class Functor > | |
| void | jacobianEach (const Point &x, Functor functor) const noexcept |
| evalute jacobian of each shape function | |
| template<class Point , class Functor > | |
| void | hessianEach (const Point &x, Functor functor) const noexcept |
| evalute hessian of each shape function | |
Construction | |
| LegendreShapeFunctionSet ()=default | |
| default constructor resulting in uninitialized shape function set | |
| LegendreShapeFunctionSet (int order) | |
| initialize with polynomial order | |
| template<class Factory > | |
| LegendreShapeFunctionSet (const Factory &factory) | |
| initialize from user-defined factory object | |
Protected Types | |
| typedef LegendreShapeFunction< FunctionSpace > | ShapeFunctionType |
Protected Attributes | |
| std::vector< ShapeFunctionType > | shapeFunctions_ |
| int | order_ |
Detailed Description
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
Member Typedef Documentation
◆ DomainType
| typedef FunctionSpaceType::DomainType Dune::Fem::LegendreShapeFunctionSet< FunctionSpace, hierarchicalOrdering >::DomainType |
domain type
◆ FunctionSpaceType
| typedef FunctionSpace Dune::Fem::LegendreShapeFunctionSet< FunctionSpace, hierarchicalOrdering >::FunctionSpaceType |
function space type
◆ HessianRangeType
| typedef FunctionSpaceType::HessianRangeType Dune::Fem::LegendreShapeFunctionSet< FunctionSpace, hierarchicalOrdering >::HessianRangeType |
hessian range type
◆ JacobianRangeType
| typedef FunctionSpaceType::JacobianRangeType Dune::Fem::LegendreShapeFunctionSet< FunctionSpace, hierarchicalOrdering >::JacobianRangeType |
jacobian range type
◆ RangeType
| typedef FunctionSpaceType::RangeType Dune::Fem::LegendreShapeFunctionSet< FunctionSpace, hierarchicalOrdering >::RangeType |
range type
◆ ShapeFunctionType
|
protected |
Constructor & Destructor Documentation
◆ LegendreShapeFunctionSet() [1/3]
|
default |
default constructor resulting in uninitialized shape function set
◆ LegendreShapeFunctionSet() [2/3]
|
inlineexplicit |
initialize with polynomial order
- Parameters
-
[in] order
◆ LegendreShapeFunctionSet() [3/3]
|
inline |
initialize from user-defined factory object
- Parameters
-
[in] factory a factory, see description
- Note
- The parameter factory must implement the following methods: struct Factory{// return number of shape functionsstd::size_t size () const noexcept;// return maximum orderint order () const noexcept;// fill range from begin to begin+size() with unique shape functionsvoid operator() ( InputIterator begin ) const noexcept;};int size() constiterator begin()
Member Function Documentation
◆ evaluateEach()
|
inlinenoexcept |
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:
◆ hessianEach()
|
inlinenoexcept |
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:
◆ jacobianEach()
|
inlinenoexcept |
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:
◆ order()
|
inlinenoexcept |
return order of shape functions
◆ size()
|
inlinenoexcept |
return number of shape functions
Member Data Documentation
◆ order_
|
protected |
◆ shapeFunctions_
|
protected |
The documentation for this class was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8