dune-pdelab  2.0.0
Public Types | Public Member Functions | List of all members
Dune::PDELab::ProductGridFunctionAdapter< GF1, GF2, class > Class Template Reference

Product of two GridFunctions. More...

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

Inheritance diagram for Dune::PDELab::ProductGridFunctionAdapter< GF1, GF2, class >:
Inheritance graph

Public Types

typedef Base::Traits Traits
 
typedef GridFunctionTag ImplementationTag
 
typedef GridFunctionTraits
< GF1::Traits::GridViewType,
GF1::Traits::RangeFieldType,
1, FieldVector
< GF1::Traits::RangeFieldType, 1 >
>::GridViewType 
GridViewType
 Type of the GridView. More...
 

Public Member Functions

 ProductGridFunctionAdapter (GF1 &gf1_, GF2 &gf2_)
 
void evaluate (const typename Traits::ElementType &e, const typename Traits::DomainType &x, typename Traits::RangeType &y) const
 
const Traits::GridViewType & getGridView () const
 
template<typename Time >
void setTime (Time time)
 
void evaluate (const typename Traits::ElementType &e, const typename Traits::DomainType &x, typename Traits::RangeType &y) const
 Evaluate the GridFunction at given position. 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<typename GF1, typename GF2, class = void>
class Dune::PDELab::ProductGridFunctionAdapter< GF1, GF2, class >

Product of two GridFunctions.

Member Typedef Documentation

typedef GridFunctionTraits< GF1::Traits::GridViewType, GF1::Traits::RangeFieldType, 1, FieldVector< GF1::Traits::RangeFieldType, 1 > > ::GridViewType Dune::PDELab::GridFunctionBase< GridFunctionTraits< GF1::Traits::GridViewType, GF1::Traits::RangeFieldType, 1, FieldVector< GF1::Traits::RangeFieldType, 1 > > , ProductGridFunctionAdapter< GF1, GF2 > >::GridViewType
inherited

Type of the GridView.

typedef GridFunctionTag Dune::PDELab::GridFunctionBase< GridFunctionTraits< GF1::Traits::GridViewType, GF1::Traits::RangeFieldType, 1, FieldVector< GF1::Traits::RangeFieldType, 1 > > , ProductGridFunctionAdapter< GF1, GF2 > >::ImplementationTag
inherited
template<typename GF1, typename GF2, class = void>
typedef Base::Traits Dune::PDELab::ProductGridFunctionAdapter< GF1, GF2, class >::Traits

Constructor & Destructor Documentation

template<typename GF1, typename GF2, class = void>
Dune::PDELab::ProductGridFunctionAdapter< GF1, GF2, class >::ProductGridFunctionAdapter ( GF1 &  gf1_,
GF2 &  gf2_ 
)
inline

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 GF1, typename GF2, class = void>
void Dune::PDELab::ProductGridFunctionAdapter< GF1, GF2, class >::evaluate ( const typename Traits::ElementType &  e,
const typename Traits::DomainType &  x,
typename Traits::RangeType &  y 
) const
inline
void Dune::PDELab::GridFunctionInterface< GridFunctionTraits< GF1::Traits::GridViewType, GF1::Traits::RangeFieldType, 1, FieldVector< GF1::Traits::RangeFieldType, 1 > > , ProductGridFunctionAdapter< GF1, GF2 > >::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<typename GF1, typename GF2, class = void>
const Traits::GridViewType& Dune::PDELab::ProductGridFunctionAdapter< GF1, GF2, class >::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().

template<typename GF1, typename GF2, class = void>
template<typename Time >
void Dune::PDELab::ProductGridFunctionAdapter< GF1, GF2, class >::setTime ( Time  time)
inline

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