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

a GridFunction maps x in DomainType to y in RangeType More...

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

Inherits Dune::PDELab::GridFunctionOutputParameters.

Inherited by Dune::PDELab::GridFunctionBase< T, Imp >.

Public Types

typedef T Traits
 Export type traits. More...
 

Public Member Functions

 GridFunctionInterface (Output::DataSetType dataSetType=Output::vertexData)
 
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::GridFunctionInterface< T, Imp >

a GridFunction maps x in DomainType to y in RangeType

Member Typedef Documentation

◆ Traits

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

Export type traits.

Constructor & Destructor Documentation

◆ GridFunctionInterface()

template<class T , class Imp >
Dune::PDELab::GridFunctionInterface< T, Imp >::GridFunctionInterface ( Output::DataSetType  dataSetType = Output::vertexData)
inline

Member Function Documentation

◆ dataSetType()

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

Return the data set type of this function.

◆ evaluate()

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
inline

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

◆ getGridView()

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

get a reference to the GridView

◆ setDataSetType()

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: