dune-functions 2.8.0
|
Wrapper class for functions defined on a Grid. More...
#include <dune/functions/gridfunctions/gridfunction.hh>
Public Member Functions | |
template<class F , disableCopyMove< GridFunction, F > = 0> | |
GridFunction (F &&f) | |
Construct from function. | |
GridFunction ()=default | |
Range | operator() (const Domain &x) const |
Evaluation of wrapped function. | |
const EntitySet & | entitySet () const |
Get associated EntitySet. | |
Wrapper class for functions defined on a Grid.
Being defined on a grid means in particular that you can evaluate the function in local coordinates of a given entities of the grid. The set of the entities this function is defined on is given by an EntitySet.
This models the Concept::GridFunction<Range(Domain), EntitySet, DerivativeTraits> concept.
|
inline |
Construct from function.
F | Function type |
f | Function of type F |
Calling derivative(DifferentiableFunction) will result in an exception if the passed function does provide a free derivative() function found via ADL.
|
default |
|
inline |
Get associated EntitySet.
This is free function will be found by ADL.
|
inline |
Evaluation of wrapped function.