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

#include <dune/pdelab/boilerplate/pdelab.hh>

Inheritance diagram for Dune::PDELab::UserFunction< FS, Functor >:
Inheritance graph

Public Types

typedef GridFunctionTraits< typename FS::GV, typename FS::NT, 1, FieldVector< typename FS::NT, 1 > > Traits
 
typedef GridFunctionTag ImplementationTag
 
typedef T::GridViewType GridViewType
 Type of the GridView.
 
using Output = typename Base::Output
 

Public Member Functions

 UserFunction (const FS &fs_, const Functor &f_)
 constructor
 
void evaluate (const typename Traits::ElementType &e, const typename Traits::DomainType &x, typename Traits::RangeType &y) const
 Evaluate the GridFunction at given position.
 
const FS::GV & getGridView () const
 
void evaluate (const typename Traits::ElementType &e, const typename Traits::DomainType &x, typename Traits::RangeType &y) const
 Evaluate the GridFunction at given position.
 
Output::DataSetType dataSetType () const
 Return the data set type of this function.
 
void setDataSetType (Output::DataSetType dataSetType)
 Set the data set type of this function.
 

Member Typedef Documentation

◆ GridViewType

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

Type of the GridView.

◆ ImplementationTag

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

◆ Output

template<class T , class Imp >
using Dune::PDELab::GridFunctionBase< T, Imp >::Output = typename Base::Output
inherited

◆ Traits

template<typename FS , typename Functor >
typedef GridFunctionTraits<typename FS::GV, typename FS::NT, 1,FieldVector<typename FS::NT,1> > Dune::PDELab::UserFunction< FS, Functor >::Traits

Constructor & Destructor Documentation

◆ UserFunction()

template<typename FS , typename Functor >
Dune::PDELab::UserFunction< FS, Functor >::UserFunction ( const FS &  fs_,
const Functor &  f_ 
)
inline

constructor

Member Function Documentation

◆ dataSetType()

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

Return the data set type of this function.

◆ evaluate() [1/2]

template<typename FS , typename Functor >
void Dune::PDELab::UserFunction< FS, Functor >::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

◆ evaluate() [2/2]

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

◆ getGridView()

template<typename FS , typename Functor >
const FS::GV & Dune::PDELab::UserFunction< FS, Functor >::getGridView ( ) const
inline

◆ 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: