dune-pdelab  2.4-dev
Public Types | Public Member Functions | List of all members
Dune::PDELab::GridFunctionToLocalFunctionAdapter< T > Class Template Reference

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

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

Inheritance diagram for Dune::PDELab::GridFunctionToLocalFunctionAdapter< T >:
Inheritance graph

Public Types

typedef T::Traits Traits
 

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

Member Typedef Documentation

template<typename T >
typedef T::Traits Dune::PDELab::GridFunctionToLocalFunctionAdapter< T >::Traits

Constructor & Destructor Documentation

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

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: