Dune-Fufem 2.11-git
Loading...
Searching...
No Matches
Dune::Fufem::Forms::QuadratureHints::QuadratureHint< T > Class Template Reference

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

template<class T>
class Dune::Fufem::Forms::QuadratureHints::QuadratureHint< T >

Wrapper class for a custom quadrature hint.

Template Parameters
TType 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]

template<class T >
Dune::Fufem::Forms::QuadratureHints::QuadratureHint< T >::QuadratureHint ( T  transformation)
inline

Create QuadratureHint from transformation.

Parameters
transformationA callback mapping the deduced order to the desired on

The given callback will be stored in the wrapper by value.

◆ QuadratureHint() [2/2]

template<class T >
Dune::Fufem::Forms::QuadratureHints::QuadratureHint< T >::QuadratureHint ( )
inline

Member Function Documentation

◆ operator()() [1/2]

template<class T >
decltype(auto) Dune::Fufem::Forms::QuadratureHints::QuadratureHint< T >::operator() ( const QuadratureRuleKey &  key) const
inline

Apply transformation to QuadratureRuleKey.

Given the deduced QuadratureRuleKey this method applies the desired transformation and returns the modified QuadratureRuleKey,

◆ operator()() [2/2]

template<class T >
decltype(auto) Dune::Fufem::Forms::QuadratureHints::QuadratureHint< T >::operator() ( QuadratureRuleKey &&  key) const
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: