dune-pdelab  2.0.0
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 GridFunctionTraits
< FS::GV, FS::NT,
1, FieldVector< FS::NT, 1 >
>::GridViewType 
GridViewType
 Type of the GridView. More...
 

Public Member Functions

 UserFunction (const FS &fs_, const Functor &f_)
 constructor More...
 
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 FS::GV & getGridView () const
 
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...
 

Member Typedef Documentation

typedef GridFunctionTraits< FS::GV, FS::NT, 1, FieldVector< FS::NT, 1 > > ::GridViewType Dune::PDELab::GridFunctionBase< GridFunctionTraits< FS::GV, FS::NT, 1, FieldVector< FS::NT, 1 > > , UserFunction< FS, Functor > >::GridViewType
inherited

Type of the GridView.

typedef GridFunctionTag Dune::PDELab::GridFunctionBase< GridFunctionTraits< FS::GV, FS::NT, 1, FieldVector< FS::NT, 1 > > , UserFunction< FS, Functor > >::ImplementationTag
inherited
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

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

constructor

Member Function Documentation

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

Return the data set type of this function.

Referenced by Dune::PDELab::GridFunctionOutputParameters::setDataSetType().

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
template<typename FS , typename Functor >
const FS::GV& Dune::PDELab::UserFunction< FS, Functor >::getGridView ( ) const
inline
void Dune::PDELab::GridFunctionOutputParameters::setDataSetType ( Output::DataSetType  dataSetType)
inlineinherited

Set the data set type of this function.

References Dune::PDELab::GridFunctionOutputParameters::dataSetType().


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