dune-pdelab  2.4-dev
Public Types | Public Member Functions | List of all members
Dune::PDELab::PointwiseGridFunctionAdapter< Engine, F0, Functions > Class Template Reference

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

Inheritance diagram for Dune::PDELab::PointwiseGridFunctionAdapter< Engine, F0, Functions >:
Inheritance graph

Public Types

typedef F0::Traits Traits
 

Public Member Functions

template<typename... F>
 PointwiseGridFunctionAdapter (const Engine &engine_, const F &...functions)
 construct a PointwiseGridFunctionAdapter More...
 
void evaluate (const typename Traits::ElementType &e, const typename Traits::DomainType &x, typename Traits::RangeType &y) const
 
const Traits::GridViewType & getGridView () 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 Engine, typename F0, typename... Functions>
class Dune::PDELab::PointwiseGridFunctionAdapter< Engine, F0, Functions >

A function wrapper which can map a set of gridfunctions through an PointwiseAdapterEngine

Template Parameters
EngineThe type of the engine
FNThe types of the functions. Currently, N up to 9 is supported.

Member Typedef Documentation

template<typename Engine , typename F0 , typename... Functions>
typedef F0::Traits Dune::PDELab::PointwiseGridFunctionAdapter< Engine, F0, Functions >::Traits

Constructor & Destructor Documentation

template<typename Engine , typename F0 , typename... Functions>
template<typename... F>
Dune::PDELab::PointwiseGridFunctionAdapter< Engine, F0, Functions >::PointwiseGridFunctionAdapter ( const Engine &  engine_,
const F &...  functions 
)
inline

construct a PointwiseGridFunctionAdapter

Parameters
engine_A reference to the engine. The referenced engine object must live at least as long as this adapter object is used for evaluation.
f0_Reference to the first function.
...References to the other functions. These referenced function objects must live at least as long as this adapter object is used for evaluation. Currently, up to 9 functions are supported.

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 Engine , typename F0 , typename... Functions>
void Dune::PDELab::PointwiseGridFunctionAdapter< Engine, F0, Functions >::evaluate ( const typename Traits::ElementType &  e,
const typename Traits::DomainType &  x,
typename Traits::RangeType &  y 
) const
inline
template<typename Engine , typename F0 , typename... Functions>
const Traits::GridViewType& Dune::PDELab::PointwiseGridFunctionAdapter< Engine, F0, Functions >::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().


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