DUNE PDELab (git)

Dune::PDELab::GridFunctionToLocalFunctionAdapter< T > Class Template Reference

make a LocalFunction from a GridFunction using local coordinates More...

#include <dune/pdelab/common/function.hh>

Public Member Functions

 GridFunctionToLocalFunctionAdapter (const T &t_, const typename Traits::ElementType &e_)
 Create a GridFunctionToLocalFunctionAdapter. More...
 
void evaluate (const typename Traits::DomainType &x, typename Traits::RangeType &y) const
 Evaluate the local function at the given position. More...
 

Detailed Description

template<typename T>
class Dune::PDELab::GridFunctionToLocalFunctionAdapter< T >

make a LocalFunction from a GridFunction using local coordinates

Template Parameters
Ttype of the GridFunction

Constructor & Destructor Documentation

◆ GridFunctionToLocalFunctionAdapter()

template<typename T >
Dune::PDELab::GridFunctionToLocalFunctionAdapter< T >::GridFunctionToLocalFunctionAdapter ( const T &  t_,
const typename Traits::ElementType &  e_ 
)
inline

Create a GridFunctionToLocalFunctionAdapter.

Parameters
t_GridFunction
e_Grid's element where the local function is defined

Member Function Documentation

◆ evaluate()

template<typename T >
void Dune::PDELab::GridFunctionToLocalFunctionAdapter< T >::evaluate ( const typename Traits::DomainType &  x,
typename Traits::RangeType &  y 
) const
inline

Evaluate the local function at the given position.

Parameters
[in]xThe position in local coordinates
[out]yThe result of the evaluation

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)