A Gridfunction that evaluates a function with global coordinates. More...
#include <AnalyticGridFunction.hpp>
Public Types | |
| enum | { hasDerivative = true } |
| using | EntitySet = Dune::Functions::GridViewEntitySet< GridView, 0 > |
| using | Domain = typename EntitySet::GlobalCoordinate |
| using | Range = remove_cvref_t< std::result_of_t< Function(Domain)> > |
Public Member Functions | |
| AnalyticGridFunction (Function const &fct, GridView const &gridView) | |
Constructor. Stores the function fct and creates an EntitySet. | |
| Range | operator() (Domain const &x) const |
| Return the evaluated functor at global coordinates. | |
| LocalFunction | makeLocalFunction () const |
| Return the AnalyticLocalFunction of the AnalyticGridFunction. | |
| EntitySet const & | entitySet () const |
| Returns entitySet_. | |
| Function const & | fct () const |
| Returns fct_. | |
A Gridfunction that evaluates a function with global coordinates.
Implements a GridFunction that wraps a functor around global coordinates.
| Function | The callable f=f(x) with x in Domain == GlobalCoordinates |
| GridView | A GridView that models Dune::GridViewConcept. |
Requirements: