DUNE-FUNCTIONS (unstable)
Dune::Functions::CoarseFunctionOnFineGridView< GridFunction, GV, DerivativeTraits > Class Template Reference
A wrapper representing a coarse grid function on a fine gridview. More...
#include <dune/functions/gridfunctions/coarsefunctiononfinegridview.hh>
Public Member Functions | |
CoarseFunctionOnFineGridView (const GridFunction &function, const GridView &gridView) | |
Create CoarseFunctionOnFineGridView from GridFunction and GridView. More... | |
CoarseFunctionOnFineGridView (GridFunction &&function, const GridView &gridView) | |
Create CoarseFunctionOnFineGridView from GridFunction and GridView. More... | |
Range | operator() (const Domain &x) const |
Evaluate function in global coordinates. | |
const EntitySet & | entitySet () const |
Return the EntitySet associated to this GridViewFunction. | |
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. | |
Detailed Description
template<class GridFunction, class GV, template< class > class DerivativeTraits = Dune::Functions::DefaultDerivativeTraits>
class Dune::Functions::CoarseFunctionOnFineGridView< GridFunction, GV, DerivativeTraits >
class Dune::Functions::CoarseFunctionOnFineGridView< GridFunction, GV, DerivativeTraits >
A wrapper representing a coarse grid function on a fine gridview.
- Template Parameters
-
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:
- The grid function's entity set and the
GridView
belong to the same grid. - The entity set is coarser than the
GridView
in the sense that any element from theGridView
has an ancestor in the entity set.
Constructor & Destructor Documentation
◆ CoarseFunctionOnFineGridView() [1/2]
template<class GridFunction , class GV , template< class > class DerivativeTraits = Dune::Functions::DefaultDerivativeTraits>
|
inline |
Create CoarseFunctionOnFineGridView from GridFunction and GridView.
- Parameters
-
gridFunction The GridFunction that should be represented on gridView gridView The GridFunction should be represented on this gridView
◆ CoarseFunctionOnFineGridView() [2/2]
template<class GridFunction , class GV , template< class > class DerivativeTraits = Dune::Functions::DefaultDerivativeTraits>
|
inline |
Create CoarseFunctionOnFineGridView from GridFunction and GridView.
- Parameters
-
gridFunction The GridFunction that should be represented on gridView gridView The GridFunction should be represented on this gridView
The documentation for this class was generated from the following file:
- dune/functions/gridfunctions/coarsefunctiononfinegridview.hh
