dune-pdelab 2.7-git
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
Dune::PDELab::BoundaryGridFunctionBase< T, Imp > Class Template Reference

leaf of a function tree More...

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

Inheritance diagram for Dune::PDELab::BoundaryGridFunctionBase< T, Imp >:
Inheritance graph

Public Types

typedef GridFunctionTag ImplementationTag
 
typedef T::GridViewType GridViewType
 Type of the GridView.
 
typedef T Traits
 Export type traits of the boundary grid function.
 

Public Member Functions

template<typename I >
void evaluate (const IntersectionGeometry< I > &ig, const typename Traits::DomainType &x, typename Traits::RangeType &y) const
 Evaluate the GridFunction at given position.
 
const Traits::GridViewType & getGridView () const
 get a reference to the GridView
 

Detailed Description

template<class T, class Imp>
class Dune::PDELab::BoundaryGridFunctionBase< T, Imp >

leaf of a function tree

Classes derived from this class implement a GridFunctionTree.

Template Parameters
TTraits class holding the functions signature
ImpClass implementing the function. Imp must be derived from GridFunctionBase in some way (Barton-Nackman-Trick).

Member Typedef Documentation

◆ GridViewType

template<class T , class Imp >
typedef T::GridViewType Dune::PDELab::BoundaryGridFunctionBase< T, Imp >::GridViewType

Type of the GridView.

◆ ImplementationTag

template<class T , class Imp >
typedef GridFunctionTag Dune::PDELab::BoundaryGridFunctionBase< T, Imp >::ImplementationTag

◆ Traits

template<class T , class Imp >
typedef T Dune::PDELab::BoundaryGridFunctionInterface< T, Imp >::Traits
inherited

Export type traits of the boundary grid function.

Member Function Documentation

◆ evaluate()

template<class T , class Imp >
template<typename I >
void Dune::PDELab::BoundaryGridFunctionInterface< T, Imp >::evaluate ( const IntersectionGeometry< I > &  ig,
const typename Traits::DomainType &  x,
typename Traits::RangeType &  y 
) const
inlineinherited

Evaluate the GridFunction at given position.

Evaluates components of the grid function at the given position and returns these values in a vector.

Parameters
[in]iggeometry of intersection with boundary
[in]xThe position in entity-local coordinates
[out]yThe result of the evaluation

◆ getGridView()

template<class T , class Imp >
const Traits::GridViewType & Dune::PDELab::BoundaryGridFunctionInterface< T, Imp >::getGridView ( ) const
inlineinherited

get a reference to the GridView


The documentation for this class was generated from the following file: