Loading [MathJax]/extensions/tex2jax.js

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 EntitySetentitySet () 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 >

A wrapper representing a coarse grid function on a fine gridview.

Template Parameters
GridFunctionType of the wrapped grid function
GVType 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:

  1. The grid function's entity set and the GridView belong to the same grid.
  2. The entity set is coarser than the GridView in the sense that any element from the GridView 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>
Dune::Functions::CoarseFunctionOnFineGridView< GridFunction, GV, DerivativeTraits >::CoarseFunctionOnFineGridView ( const GridFunction &  function,
const GridView &  gridView 
)
inline

Create CoarseFunctionOnFineGridView from GridFunction and GridView.

Parameters
gridFunctionThe GridFunction that should be represented on gridView
gridViewThe GridFunction should be represented on this gridView

◆ CoarseFunctionOnFineGridView() [2/2]

template<class GridFunction , class GV , template< class > class DerivativeTraits = Dune::Functions::DefaultDerivativeTraits>
Dune::Functions::CoarseFunctionOnFineGridView< GridFunction, GV, DerivativeTraits >::CoarseFunctionOnFineGridView ( GridFunction &&  function,
const GridView &  gridView 
)
inline

Create CoarseFunctionOnFineGridView from GridFunction and GridView.

Parameters
gridFunctionThe GridFunction that should be represented on gridView
gridViewThe GridFunction should be represented on this gridView

The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden & Uni Heidelberg  |  generated with Hugo v0.111.3 (Mar 12, 23:28, 2025)