DUNE PDELab (git)

Dune::PDELab::GlobalFunctionToLocalFunctionAdapter< T, E > Class Template Reference

make a Function in local coordinates from a Function in global coordinates More...

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

Public Member Functions

 GlobalFunctionToLocalFunctionAdapter (const T &t_, const E &e_)
 Create a GlobalFunctionToLocalFunctionAdapter. 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, typename E>
class Dune::PDELab::GlobalFunctionToLocalFunctionAdapter< T, E >

make a Function in local coordinates from a Function in global coordinates

Template Parameters
TType of the global function
EType of the grid's element

Constructor & Destructor Documentation

◆ GlobalFunctionToLocalFunctionAdapter()

template<typename T , typename E >
Dune::PDELab::GlobalFunctionToLocalFunctionAdapter< T, E >::GlobalFunctionToLocalFunctionAdapter ( const T &  t_,
const E &  e_ 
)
inline

Create a GlobalFunctionToLocalFunctionAdapter.

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

Member Function Documentation

◆ evaluate()

template<typename T , typename E >
void Dune::PDELab::GlobalFunctionToLocalFunctionAdapter< T, E >::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.111.3 (Nov 12, 23:30, 2024)