![]() |
Dune-Fufem 2.11-git
|
Wrapper class for a custom quadrature hint. More...
#include <dune/fufem/forms/quadraturehints.hh>
Public Member Functions | |
| QuadratureHint (T transformation) | |
| Create QuadratureHint from transformation. | |
| QuadratureHint () | |
| decltype(auto) | operator() (QuadratureRuleKey &&key) const |
| Apply transformation to QuadratureRuleKey. | |
| decltype(auto) | operator() (const QuadratureRuleKey &key) const |
| Apply transformation to QuadratureRuleKey. | |
Detailed Description
class Dune::Fufem::Forms::QuadratureHints::QuadratureHint< T >
Wrapper class for a custom quadrature hint.
- Template Parameters
-
T Type of a callback mapping the deduced order to the desired on
To implement a custom quadrature hint that transforms the deduced order by applying a transformation callback, one can wrap the transformation using QuadratureHint(transformation). Here transformation has to be a unary function mapping a QuadratureRuleKey to a QuadratureRuleKey.
Constructor & Destructor Documentation
◆ QuadratureHint() [1/2]
|
inline |
Create QuadratureHint from transformation.
- Parameters
-
transformation A callback mapping the deduced order to the desired on
The given callback will be stored in the wrapper by value.
◆ QuadratureHint() [2/2]
|
inline |
Member Function Documentation
◆ operator()() [1/2]
|
inline |
Apply transformation to QuadratureRuleKey.
Given the deduced QuadratureRuleKey this method applies the desired transformation and returns the modified QuadratureRuleKey,
◆ operator()() [2/2]
|
inline |
Apply transformation to QuadratureRuleKey.
Given the deduced QuadratureRuleKey this method applies the desired transformation and returns the modified QuadratureRuleKey,
The documentation for this class was generated from the following file:
