dune-pdelab  2.5-dev
Public Types | Public Member Functions | List of all members
Dune::PDELab::MinusGridFunctionAdapter< GF1, GF2 > Class Template Reference

Substract two GridFunctions. More...

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

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

Public Types

typedef Base::Traits Traits
 
typedef GridFunctionTag ImplementationTag
 
typedef GF1::Traits ::GridViewType GridViewType
 Type of the GridView. More...
 
using Output = typename Base::Output
 

Public Member Functions

 MinusGridFunctionAdapter (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)
 
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 Dune::PDELab::MinusGridFunctionAdapter< GF1, GF2 >

Substract two GridFunctions.

Template Parameters
GF1Type for the GridFunction on the left side of the minus
GF2Type for the GridFunction on the right side of the minus

Member Typedef Documentation

◆ GridViewType

typedef GF1::Traits ::GridViewType Dune::PDELab::GridFunctionBase< GF1::Traits , MinusGridFunctionAdapter< GF1, GF2 > >::GridViewType
inherited

Type of the GridView.

◆ ImplementationTag

◆ Output

using Dune::PDELab::GridFunctionBase< GF1::Traits , MinusGridFunctionAdapter< GF1, GF2 > >::Output = typename Base::Output
inherited

◆ Traits

template<typename GF1 , typename GF2 >
typedef Base::Traits Dune::PDELab::MinusGridFunctionAdapter< GF1, GF2 >::Traits

Constructor & Destructor Documentation

◆ MinusGridFunctionAdapter()

template<typename GF1 , typename GF2 >
Dune::PDELab::MinusGridFunctionAdapter< GF1, GF2 >::MinusGridFunctionAdapter ( GF1 &  gf1_,
GF2 &  gf2_ 
)
inline

Member Function Documentation

◆ dataSetType()

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

Return the data set type of this function.

◆ evaluate()

template<typename GF1 , typename GF2 >
void Dune::PDELab::MinusGridFunctionAdapter< GF1, GF2 >::evaluate ( const typename Traits::ElementType &  e,
const typename Traits::DomainType &  x,
typename Traits::RangeType &  y 
) const
inline

◆ getGridView()

template<typename GF1 , typename GF2 >
const Traits::GridViewType& Dune::PDELab::MinusGridFunctionAdapter< GF1, GF2 >::getGridView ( ) const
inline

◆ setDataSetType()

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

Set the data set type of this function.

◆ setTime()

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

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