![]() |
Dune-Functions 2.11
|
A wrapper representing a coarse grid function on a fine gridview. More...
#include <dune/functions/gridfunctions/coarsefunctiononfinegridview.hh>
Public Types | |
| using | GridView = GV |
| using | EntitySet = Dune::Functions::GridViewEntitySet<GridView, 0> |
| using | Element = typename EntitySet::Element |
| using | Domain = typename EntitySet::GlobalCoordinate |
| using | LocalDomain = typename EntitySet::LocalCoordinate |
| using | Range = std::decay_t<decltype(std::declval<RawGridFunction>()(std::declval<Domain>()))> |
| using | LocalFunction = CoarseLocalFunctionOnFineGridView |
Public Member Functions | |
| CoarseFunctionOnFineGridView (const GridFunction &function, const GridView &gridView) | |
| Create CoarseFunctionOnFineGridView from GridFunction and GridView. | |
| CoarseFunctionOnFineGridView (GridFunction &&function, const GridView &gridView) | |
| Create CoarseFunctionOnFineGridView from GridFunction and GridView. | |
| Range | operator() (const Domain &x) const |
| Evaluate function in global coordinates. | |
| const EntitySet & | entitySet () const |
| Return the EntitySet associated to this GridViewFunction. | |
Protected Attributes | |
| GridFunction | function_ |
| EntitySet | entitySet_ |
Friends | |
| auto | derivative (const CoarseFunctionOnFineGridView &f) |
| Obtain global derivative of this function. | |
| LocalFunction | localFunction (const CoarseFunctionOnFineGridView &f) |
| Create a LocalFunction for evaluation in local coordinates. | |
A wrapper representing a coarse grid function on a fine gridview.
| GridFunction | Type of the wrapped grid function |
| GV | Type of the target grid view this function should act on |
This wraps a grid function such that it can be used as a GridViewFunction on a user-provided GridView under the following assumptions:
| using Dune::Functions::CoarseFunctionOnFineGridView< GridFunction, GV, DerivativeTraits >::Domain = typename EntitySet::GlobalCoordinate |
| using Dune::Functions::CoarseFunctionOnFineGridView< GridFunction, GV, DerivativeTraits >::Element = typename EntitySet::Element |
| using Dune::Functions::CoarseFunctionOnFineGridView< GridFunction, GV, DerivativeTraits >::EntitySet = Dune::Functions::GridViewEntitySet<GridView, 0> |
| using Dune::Functions::CoarseFunctionOnFineGridView< GridFunction, GV, DerivativeTraits >::GridView = GV |
| using Dune::Functions::CoarseFunctionOnFineGridView< GridFunction, GV, DerivativeTraits >::LocalDomain = typename EntitySet::LocalCoordinate |
| using Dune::Functions::CoarseFunctionOnFineGridView< GridFunction, GV, DerivativeTraits >::LocalFunction = CoarseLocalFunctionOnFineGridView |
| using Dune::Functions::CoarseFunctionOnFineGridView< GridFunction, GV, DerivativeTraits >::Range = std::decay_t<decltype(std::declval<RawGridFunction>()(std::declval<Domain>()))> |
|
inline |
Create CoarseFunctionOnFineGridView from GridFunction and GridView.
| function | The GridFunction that should be represented on gridView |
| gridView | The GridFunction should be represented on this gridView |
|
inline |
Create CoarseFunctionOnFineGridView from GridFunction and GridView.
| function | The GridFunction that should be represented on gridView |
| gridView | The GridFunction should be represented on this gridView |
|
inline |
Return the EntitySet associated to this GridViewFunction.
|
inline |
Evaluate function in global coordinates.
|
friend |
Obtain global derivative of this function.
|
friend |
Create a LocalFunction for evaluation in local coordinates.
|
protected |
|
protected |