dune-pdelab  2.7-git
Public Types | Public Member Functions | List of all members
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>

Inheritance diagram for Dune::PDELab::GlobalFunctionToLocalFunctionAdapter< T, E >:
Inheritance graph

Public Types

typedef T::Traits Traits
 

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

Member Typedef Documentation

◆ Traits

template<typename T , typename E >
typedef T::Traits Dune::PDELab::GlobalFunctionToLocalFunctionAdapter< T, E >::Traits

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: