dune-pdelab  2.7-git
Public Types | Public Member Functions | List of all members
Dune::PDELab::LocalCallableToInstationaryGridFunctionAdapter< GV, RF, n, F, P > Class Template Reference

return a PDELab GridFunction (with setTime method) defined by a parameter class and a callable f(e,x) that expects an entity e and local coordinates x More...

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

Inheritance diagram for Dune::PDELab::LocalCallableToInstationaryGridFunctionAdapter< GV, RF, n, F, P >:
Inheritance graph

Public Types

typedef Dune::PDELab::GridFunctionTraits< GV, RF, n, Dune::FieldVector< RF, n > > Traits
 
typedef GridFunctionTag ImplementationTag
 
typedef Dune::PDELab::GridFunctionTraits< GV, RF, n, Dune::FieldVector< RF, n > > ::GridViewType GridViewType
 Type of the GridView. More...
 
using Output = typename Base::Output
 

Public Member Functions

 LocalCallableToInstationaryGridFunctionAdapter (const GV &gv_, const F &f_, P &p_)
 construct from grid view More...
 
const GV & getGridView () const
 get a reference to the grid view More...
 
void evaluate (const typename Traits::ElementType &e, const typename Traits::DomainType &xl, typename Traits::RangeType &y) const
 evaluate extended function on element More...
 
void setTime (RF t)
 
const Traits::GridViewTypegetGridView () 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 GV, typename RF, int n, typename F, typename P>
class Dune::PDELab::LocalCallableToInstationaryGridFunctionAdapter< GV, RF, n, F, P >

return a PDELab GridFunction (with setTime method) defined by a parameter class and a callable f(e,x) that expects an entity e and local coordinates x

Member Typedef Documentation

◆ GridViewType

typedef Dune::PDELab::GridFunctionTraits< GV, RF, n, Dune::FieldVector< RF, n > > ::GridViewType Dune::PDELab::GridFunctionBase< Dune::PDELab::GridFunctionTraits< GV, RF, n, Dune::FieldVector< RF, n > > , LocalCallableToInstationaryGridFunctionAdapter< GV, RF, n, F, P > >::GridViewType
inherited

Type of the GridView.

◆ ImplementationTag

◆ Output

using Dune::PDELab::GridFunctionBase< Dune::PDELab::GridFunctionTraits< GV, RF, n, Dune::FieldVector< RF, n > > , LocalCallableToInstationaryGridFunctionAdapter< GV, RF, n, F, P > >::Output = typename Base::Output
inherited

◆ Traits

template<typename GV , typename RF , int n, typename F , typename P >
typedef Dune::PDELab:: GridFunctionTraits<GV,RF,n,Dune::FieldVector<RF,n> > Dune::PDELab::LocalCallableToInstationaryGridFunctionAdapter< GV, RF, n, F, P >::Traits

Constructor & Destructor Documentation

◆ LocalCallableToInstationaryGridFunctionAdapter()

template<typename GV , typename RF , int n, typename F , typename P >
Dune::PDELab::LocalCallableToInstationaryGridFunctionAdapter< GV, RF, n, F, P >::LocalCallableToInstationaryGridFunctionAdapter ( const GV &  gv_,
const F &  f_,
P &  p_ 
)
inline

construct from grid view

Member Function Documentation

◆ dataSetType()

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

Return the data set type of this function.

◆ evaluate()

template<typename GV , typename RF , int n, typename F , typename P >
void Dune::PDELab::LocalCallableToInstationaryGridFunctionAdapter< GV, RF, n, F, P >::evaluate ( const typename Traits::ElementType e,
const typename Traits::DomainType xl,
typename Traits::RangeType y 
) const
inline

evaluate extended function on element

◆ getGridView() [1/2]

const Traits::GridViewType& Dune::PDELab::GridFunctionInterface< Dune::PDELab::GridFunctionTraits< GV, RF, n, Dune::FieldVector< RF, n > > , LocalCallableToInstationaryGridFunctionAdapter< GV, RF, n, F, P > >::getGridView
inlineinherited

get a reference to the GridView

◆ getGridView() [2/2]

template<typename GV , typename RF , int n, typename F , typename P >
const GV& Dune::PDELab::LocalCallableToInstationaryGridFunctionAdapter< GV, RF, n, F, P >::getGridView ( ) const
inline

get a reference to the grid view

◆ setDataSetType()

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

Set the data set type of this function.

◆ setTime()

template<typename GV , typename RF , int n, typename F , typename P >
void Dune::PDELab::LocalCallableToInstationaryGridFunctionAdapter< GV, RF, n, F, P >::setTime ( RF  t)
inline

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