![]() |
Dune-Functions 2.11
|
Loading...
Searching...
No Matches
localfunction.hh
Go to the documentation of this file.
32template<class Signature, class LocalContext, template<class> class DerivativeTraits=DefaultDerivativeTraits, size_t bufferSize=56>
90template<class Range, class Domain, class LocalContext, template<class> class DerivativeTraits, size_t bufferSize>
93 typename Imp::LocalFunctionTraits<Range(Domain), LocalContext, DerivativeTraits, bufferSize>::Concept,
94 Imp::LocalFunctionTraits<Range(Domain), LocalContext, DerivativeTraits, bufferSize>::template Model>
96 using Traits = Imp::LocalFunctionTraits<Range(Domain), LocalContext, DerivativeTraits, bufferSize>;
friend DerivativeInterface derivative(const LocalFunction &t)
Get derivative of wrapped function.
Definition localfunction.hh:139
STL namespace.
virtual void operator()()=0
Definition localfunction.hh:34
const LocalContext & localContext() const
Obtain local context this LocalFunction is bound to.
Definition localfunction.hh:173
LocalFunction(F &&f)
Construct from function.
Definition localfunction.hh:116
void unbind()
Unbind from local context.
Definition localfunction.hh:158
bool bound() const
Return if the local function is bound to a grid element.
Definition localfunction.hh:165
void bind(const LocalContext &context)
Bind function to a local context.
Definition localfunction.hh:150
LocalFunction()=default
Base class for type-erased interface wrapper.
Definition typeerasure.hh:169
