dune-pdelab  2.7-git
Public Types | Public Member Functions | List of all members
Dune::PDELab::DivisionGridFunctionAdapter< GF1, GF2 > Class Template Reference

Substract two GridFunctions. More...

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

Inheritance diagram for Dune::PDELab::DivisionGridFunctionAdapter< 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

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

Substract two GridFunctions.

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

Member Typedef Documentation

◆ GridViewType

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

Type of the GridView.

◆ ImplementationTag

◆ Output

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

◆ Traits

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

Constructor & Destructor Documentation

◆ DivisionGridFunctionAdapter()

template<typename GF1 , typename GF2 >
Dune::PDELab::DivisionGridFunctionAdapter< GF1, GF2 >::DivisionGridFunctionAdapter ( 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::DivisionGridFunctionAdapter< GF1, GF2 >::evaluate ( const typename Traits::ElementType &  e,
const typename Traits::DomainType &  x,
typename Traits::RangeType &  y 
) const
inline

◆ getGridView() [1/2]

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

◆ getGridView() [2/2]

const Traits::GridViewType& Dune::PDELab::GridFunctionInterface< GF1::Traits , DivisionGridFunctionAdapter< GF1, GF2 > >::getGridView
inlineinherited

get a reference to the GridView

◆ 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::DivisionGridFunctionAdapter< GF1, GF2 >::setTime ( Time  time)
inline

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