LocalFunction of a Gridfunction returning a constant value. More...
#include <ConstantGridFunction.hpp>
Public Types | |
enum | { hasDerivative = true } |
This LocalFunction has its own derivativeOf() function. | |
using | Domain = D |
The LocalDomain this LocalFunction can be evaluated in. | |
using | Range = R |
The range type of the LocalFunction. | |
Public Member Functions | |
ConstantLocalFunction (T const &value) | |
Constructor. Stores the constant value. | |
void | bind (LC const &) |
void | unbind () |
Range const & | operator() (Domain const &) const |
Return the constant value_ . | |
template<class Type > | |
auto | makeDerivative (Type const &) const |
Create a ConstantLocalFunction representing the derivative of a constant function, that ist, the value 0. | |
int | order () const |
Return the constant polynomial order 0. | |
LocalFunction of a Gridfunction returning a constant value.