KASKADE 7 development version
Public Types | Public Member Functions | List of all members
Kaskade::FunctionViewAdaptor< Space_, Functor > Class Template Reference

An adaptor that allows to turn lambda functions into function views. More...

#include <fetransfer.hh>

Detailed Description

template<class Space_, class Functor>
class Kaskade::FunctionViewAdaptor< Space_, Functor >

An adaptor that allows to turn lambda functions into function views.

Template Parameters
Spacea FEFunctionSpace on which the underlying function lives
Functora callable object (e.g. a lambda function) mapping space evaluators to values
Todo:
implement this as derived class of WeakFunctionViewAdaptor

Definition at line 1073 of file fetransfer.hh.

Public Types

using Space = Space_
 

Public Member Functions

 FunctionViewAdaptor (Space const &space, Functor const &g_)
 
Space const & space () const
 
template<class ... Args>
auto value (Args... args) const
 

Member Typedef Documentation

◆ Space

template<class Space_ , class Functor >
using Kaskade::FunctionViewAdaptor< Space_, Functor >::Space = Space_

Definition at line 1076 of file fetransfer.hh.

Constructor & Destructor Documentation

◆ FunctionViewAdaptor()

template<class Space_ , class Functor >
Kaskade::FunctionViewAdaptor< Space_, Functor >::FunctionViewAdaptor ( Space const &  space,
Functor const &  g_ 
)
inline

Definition at line 1078 of file fetransfer.hh.

Member Function Documentation

◆ space()

template<class Space_ , class Functor >
Space const & Kaskade::FunctionViewAdaptor< Space_, Functor >::space ( ) const
inline

Definition at line 1081 of file fetransfer.hh.

◆ value()

template<class Space_ , class Functor >
template<class ... Args>
auto Kaskade::FunctionViewAdaptor< Space_, Functor >::value ( Args...  args) const
inline

Definition at line 1087 of file fetransfer.hh.


The documentation for this class was generated from the following file: