3#ifndef DUNE_FUNCTIONS_COMMON_LOCALFUNCTION_FUNCTION_IMP_HH
4#define DUNE_FUNCTIONS_COMMON_LOCALFUNCTION_FUNCTION_IMP_HH
19template<
class Signature,
class DerivativeInterface,
class LocalContext>
20class LocalFunctionWrapperInterface :
21 public DifferentiableFunctionWrapperInterface<Signature, DerivativeInterface>
24 virtual void bind(
const LocalContext&) = 0;
26 virtual void unbind() = 0;
28 virtual bool bound()
const = 0;
30 virtual const LocalContext& localContext()
const = 0;
35template<
class Signature,
class DerivativeInterface,
class LocalContext,
class B>
36class LocalFunctionWrapperImplementation :
37 public DifferentiableFunctionWrapperImplementation<Signature, DerivativeInterface, B>
39 using Base = DifferentiableFunctionWrapperImplementation<Signature, DerivativeInterface, B>;
43 virtual void bind(
const LocalContext& context)
45 this->get().bind(context);
53 virtual bool bound()
const
55 return this->get().bound();
58 virtual const LocalContext& localContext()
const
60 return this->get().localContext();
Definition: polynomial.hh:10