dune-pdelab  2.4.1
Public Types | Public Member Functions | List of all members
Dune::PDELab::GridFunctionBase< T, Imp > Class Template Reference

leaf of a function tree More...

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

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

Public Types

typedef GridFunctionTag ImplementationTag
 
typedef T::GridViewType GridViewType
 Type of the GridView. More...
 
typedef T Traits
 Export type traits. More...
 

Public Member Functions

void evaluate (const typename Traits::ElementType &e, const typename Traits::DomainType &x, typename Traits::RangeType &y) const
 Evaluate the GridFunction at given position. More...
 
const Traits::GridViewType & getGridView () const
 get a reference to the GridView More...
 
Output::DataSetType dataSetType () const
 Return the data set type of this function. More...
 
void setDataSetType (Output::DataSetType dataSetType)
 Set the data set type of this function. More...
 

Detailed Description

template<class T, class Imp>
class Dune::PDELab::GridFunctionBase< 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

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

Type of the GridView.

template<class T, class Imp>
typedef GridFunctionTag Dune::PDELab::GridFunctionBase< T, Imp >::ImplementationTag
template<class T, class Imp>
typedef T Dune::PDELab::GridFunctionInterface< T, Imp >::Traits
inherited

Export type traits.

Member Function Documentation

Output::DataSetType Dune::PDELab::GridFunctionOutputParameters::dataSetType ( ) const
inlineinherited

Return the data set type of this function.

template<class T, class Imp>
void Dune::PDELab::GridFunctionInterface< T, Imp >::evaluate ( const typename Traits::ElementType &  e,
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]eThe entity to evaluate on
[in]xThe position in entity-local coordinates
[out]yThe result of the evaluation
template<class T, class Imp>
const Traits::GridViewType& Dune::PDELab::GridFunctionInterface< T, Imp >::getGridView ( ) const
inlineinherited

get a reference to the GridView

void Dune::PDELab::GridFunctionOutputParameters::setDataSetType ( Output::DataSetType  dataSetType)
inlineinherited

Set the data set type of this function.


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