dune-pdelab 2.10-git
Loading...
Searching...
No Matches
Dune::PDELab::SqrGridFunctionAdapter< GF > Class Template Reference

Take square of a GridFunction. More...

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

Inheritance diagram for Dune::PDELab::SqrGridFunctionAdapter< GF >:
Inheritance graph

Public Types

typedef Base::Traits Traits
 
typedef GridFunctionTag ImplementationTag
 
typedef T::GridViewType GridViewType
 Type of the GridView.
 
using Output = typename Base::Output
 
typedef LeafNodeTag NodeTag
 

Public Member Functions

 SqrGridFunctionAdapter (GF &gf_)
 
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.
 
void setDataSetType (Output::DataSetType dataSetType)
 Set the data set type of this function.
 

Static Public Member Functions

static constexpr auto degree ()
 

Static Public Attributes

static const bool isLeaf
 
static const bool isPower
 
static const bool isComposite
 

Detailed Description

template<typename GF>
class Dune::PDELab::SqrGridFunctionAdapter< GF >

Take square of a GridFunction.

Template Parameters
GFThe type of the GridFunction to square

Member Typedef Documentation

◆ GridViewType

typedef T::GridViewType Dune::PDELab::GridFunctionBase< GridFunctionTraits< GF::Traits::GridViewType, GF::Traits::RangeFieldType, 1, FieldVector< GF::Traits::RangeFieldType, 1 > > , SqrGridFunctionAdapter< GF > >::GridViewType
inherited

Type of the GridView.

◆ ImplementationTag

typedef GridFunctionTag Dune::PDELab::GridFunctionBase< GridFunctionTraits< GF::Traits::GridViewType, GF::Traits::RangeFieldType, 1, FieldVector< GF::Traits::RangeFieldType, 1 > > , SqrGridFunctionAdapter< GF > >::ImplementationTag
inherited

◆ Output

using Dune::PDELab::GridFunctionBase< GridFunctionTraits< GF::Traits::GridViewType, GF::Traits::RangeFieldType, 1, FieldVector< GF::Traits::RangeFieldType, 1 > > , SqrGridFunctionAdapter< GF > >::Output = typename Base::Output
inherited

◆ Traits

template<typename GF >
typedef Base::Traits Dune::PDELab::SqrGridFunctionAdapter< GF >::Traits

Constructor & Destructor Documentation

◆ SqrGridFunctionAdapter()

template<typename GF >
Dune::PDELab::SqrGridFunctionAdapter< GF >::SqrGridFunctionAdapter ( GF &  gf_)
inline

Member Function Documentation

◆ dataSetType()

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

Return the data set type of this function.

◆ evaluate()

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

◆ getGridView()

template<typename GF >
const Traits::GridViewType & Dune::PDELab::SqrGridFunctionAdapter< GF >::getGridView ( ) const
inline

◆ setDataSetType()

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

Set the data set type of this function.

◆ setTime()

template<typename GF >
template<typename Time >
void Dune::PDELab::SqrGridFunctionAdapter< GF >::setTime ( Time  time)
inline

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