Dune Core Modules (2.8.0)

Dune::Functions::GridFunction< Range(Domain), ES, DerivativeTraits, bufferSize > Class Template Reference

Wrapper class for functions defined on a Grid. More...

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

Public Member Functions

template<class F , disableCopyMove< GridFunction, F > = 0>
 GridFunction (F &&f)
 Construct from function. More...
 
Range operator() (const Domain &x) const
 Evaluation of wrapped function.
 
const EntitySet & entitySet () const
 Get associated EntitySet. More...
 

Detailed Description

template<class Range, class Domain, class ES, template< class > class DerivativeTraits, size_t bufferSize>
class Dune::Functions::GridFunction< Range(Domain), ES, DerivativeTraits, bufferSize >

Wrapper class for functions defined on a Grid.

Being defined on a grid means in particular that you can evaluate the function in local coordinates of a given entities of the grid. The set of the entities this function is defined on is given by an EntitySet.

This models the Concept::GridFunction<Range(Domain), EntitySet, DerivativeTraits> concept.

Constructor & Destructor Documentation

◆ GridFunction()

template<class Range , class Domain , class ES , template< class > class DerivativeTraits, size_t bufferSize>
template<class F , disableCopyMove< GridFunction, F > = 0>
Dune::Functions::GridFunction< Range(Domain), ES, DerivativeTraits, bufferSize >::GridFunction ( F &&  f)
inline

Construct from function.

Template Parameters
FFunction type
Parameters
fFunction of type F

Calling derivative(DifferentiableFunction) will result in an exception if the passed function does provide a free derivative() function found via ADL.

References Dune::Functions::Concept::isGridFunction().

Member Function Documentation

◆ entitySet()

template<class Range , class Domain , class ES , template< class > class DerivativeTraits, size_t bufferSize>
const EntitySet& Dune::Functions::GridFunction< Range(Domain), ES, DerivativeTraits, bufferSize >::entitySet ( ) const
inline

Get associated EntitySet.

This is free function will be found by ADL.


The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.80.0 (May 16, 22:29, 2024)