Loading [MathJax]/extensions/tex2jax.js

DUNE-FUNCTIONS (unstable)

Dune::Functions::FineFunctionOnCoarseGridView< GridFunction, GV, DerivativeTraits > Class Template Reference

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

#include <dune/functions/gridfunctions/finefunctiononcoarsegridview.hh>

Public Member Functions

 FineFunctionOnCoarseGridView (const GridFunction &function, const GridView &gridView)
 Create FineFunctionOnCoarseGridView from GridFunction and GridView. More...
 
 FineFunctionOnCoarseGridView (GridFunction &&function, const GridView &gridView)
 Create FineFunctionOnCoarseGridView 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 FineFunctionOnCoarseGridView &f)
 Obtain global derivative of this function.
 
LocalFunction localFunction (const FineFunctionOnCoarseGridView &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::FineFunctionOnCoarseGridView< GridFunction, GV, DerivativeTraits >

A wrapper representing a fine grid function on a 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 finer than the GridView in the sense that any element from the entity has an ancestor in the GridView.

Constructor & Destructor Documentation

◆ FineFunctionOnCoarseGridView() [1/2]

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

Create FineFunctionOnCoarseGridView from GridFunction and GridView.

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

◆ FineFunctionOnCoarseGridView() [2/2]

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

Create FineFunctionOnCoarseGridView 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)