dune-pdelab 2.7-git
|
Adapter for callables f(e,x) expecting an entity e and a global coordinate x. More...
#include <dune/pdelab/function/callableadapter.hh>
Public Types | |
typedef Dune::PDELab::GridFunctionTraits< GV, RF, n, Dune::FieldVector< RF, n > > | Traits |
typedef GridFunctionTag | ImplementationTag |
typedef T::GridViewType | GridViewType |
Type of the GridView. More... | |
using | Output = typename Base::Output |
Public Member Functions | |
LocalCallableToGridFunctionAdapter (const GV &gv_, const F &f_) | |
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 | evaluate (const typename Traits::ElementType &e, const typename Traits::DomainType &x, typename Traits::RangeType &y) const |
Evaluate the GridFunction at given position. 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... | |
Adapter for callables f(e,x) expecting an entity e and a global coordinate x.
|
inherited |
Type of the GridView.
|
inherited |
|
inherited |
typedef Dune::PDELab:: GridFunctionTraits<GV,RF,n,Dune::FieldVector<RF,n> > Dune::PDELab::LocalCallableToGridFunctionAdapter< GV, RF, n, F >::Traits |
|
inline |
construct from grid view
|
inlineinherited |
Return the data set type of this function.
|
inlineinherited |
Evaluate the GridFunction at given position.
Evaluates components of the grid function at the given position and returns these values in a vector.
[in] | e | The entity to evaluate on |
[in] | x | The position in entity-local coordinates |
[out] | y | The result of the evaluation |
|
inline |
evaluate extended function on element
|
inline |
get a reference to the grid view
|
inlineinherited |
Set the data set type of this function.