dune-pdelab
2.5-dev
|
Turn an ordinary GridFunction into a GridFunctionTree leaf. More...
#include <dune/pdelab/common/function.hh>
Public Types | |
typedef GridFunctionTag | ImplementationTag |
typedef Imp::Traits ::GridViewType | GridViewType |
Type of the GridView. More... | |
typedef Imp::Traits | Traits |
Export type traits. More... | |
Public Member Functions | |
GridFunctionBaseAdapter (const Imp &imp_) | |
construct a GridFunctionBaseAdapter More... | |
void | evaluate (const typename Imp::Traits::ElementType &e, const typename Imp::Traits::DomainType &x, typename Imp::Traits::RangeType &y) const |
Evaluate the GridFunction at given position. More... | |
const Imp::Traits::GridViewType & | getGridView () const |
get a reference to the GridView 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... | |
Turn an ordinary GridFunction into a GridFunctionTree leaf.
Imp | Class implementing the function. |
|
inherited |
Type of the GridView.
|
inherited |
|
inherited |
Export type traits.
|
inline |
construct a GridFunctionBaseAdapter
imp_ | The underlying ordinary GridFunction. A reference to this Object is stored, so the object must be valid for as long as this GridFunctionBaseAdapter is used. |
|
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 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 |
get a reference to the GridView
|
inlineinherited |
Set the data set type of this function.