AMDiS  0.3
The Adaptive Multi-Dimensional Simulation Toolbox
ComposerLocalFunction< R(D), E, Functor, LocalFunctions... > Class Template Reference

Public Types

enum  { hasDerivative = true }
 
using Range = R
 
using Domain = D
 
using Element = E
 

Public Member Functions

template<class... LocalFcts>
 ComposerLocalFunction (Functor const &fct, LocalFcts &&... localFcts)
 Constructor. Stores copies of the functor and localFunction(gridfunction)s.
 
void bind (Element const &element)
 Calls bind for all localFunctions.
 
void unbind ()
 Calls unbind for all localFunctions.
 
Range operator() (Domain const &x) const
 Applies the functor fct_ to the evaluated localFunctions.
 
Element const & localContext () const
 Get the element this localfunction (and all inner localfunctions) are bound to.
 
Functor const & fct () const
 Return the stored functor.
 
auto const & localFunctions () const
 

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