dune-pdelab  2.5-dev
Public Types | Public Member Functions | List of all members
Dune::PDELab::FunctionToGridFunctionAdapter< G, T > Class Template Reference

make a GridFunction from a Function More...

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

Inheritance diagram for Dune::PDELab::FunctionToGridFunctionAdapter< G, T >:
Inheritance graph

Public Types

typedef GridFunctionTraits< G, typename T::Traits::RangeFieldType, T::Traits::dimRange, typename T::Traits::RangeType > Traits
 

Public Member Functions

 FunctionToGridFunctionAdapter (const G &g_, const T &t_)
 Create a FunctionToGridFunctionAdapter. More...
 
void evaluate (const typename Traits::ElementType &e, const typename Traits::DomainType &x, typename Traits::RangeType &y) const
 
const Traits::GridViewTypegetGridView () 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...
 

Detailed Description

template<typename G, typename T>
class Dune::PDELab::FunctionToGridFunctionAdapter< G, T >

make a GridFunction from a Function

Template Parameters
GThe GridView type
TThe function type

Member Typedef Documentation

◆ Traits

template<typename G , typename T >
typedef GridFunctionTraits<G, typename T::Traits::RangeFieldType, T::Traits::dimRange, typename T::Traits::RangeType> Dune::PDELab::FunctionToGridFunctionAdapter< G, T >::Traits

Constructor & Destructor Documentation

◆ FunctionToGridFunctionAdapter()

template<typename G , typename T >
Dune::PDELab::FunctionToGridFunctionAdapter< G, T >::FunctionToGridFunctionAdapter ( const G &  g_,
const T &  t_ 
)
inline

Create a FunctionToGridFunctionAdapter.

Parameters
g_The GridView
t_The function

Member Function Documentation

◆ dataSetType()

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

Return the data set type of this function.

◆ evaluate()

template<typename G , typename T >
void Dune::PDELab::FunctionToGridFunctionAdapter< G, T >::evaluate ( const typename Traits::ElementType e,
const typename Traits::DomainType x,
typename Traits::RangeType y 
) const
inline

◆ getGridView()

template<typename G , typename T >
const Traits::GridViewType& Dune::PDELab::FunctionToGridFunctionAdapter< G, T >::getGridView ( ) const
inline

◆ setDataSetType()

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

Set the data set type of this function.


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