dune-pdelab 2.7-git
|
make a GridFunction from a Function More...
#include <dune/pdelab/common/function.hh>
Public Types | |
typedef GridFunctionTraits< G, typename T::Traits::RangeFieldType, T::Traits::dimRange, typename T::Traits::RangeType > | Traits |
typedef GridFunctionTag | ImplementationTag |
typedef T::GridViewType | GridViewType |
Type of the GridView. | |
using | Output = typename Base::Output |
Public Member Functions | |
FunctionToGridFunctionAdapter (const G &g_, const T &t_) | |
Create a FunctionToGridFunctionAdapter. | |
void | evaluate (const typename Traits::ElementType &e, const typename Traits::DomainType &x, typename Traits::RangeType &y) const |
const Traits::GridViewType & | getGridView () const |
void | evaluate (const typename Traits::ElementType &e, const typename Traits::DomainType &x, typename Traits::RangeType &y) const |
Evaluate the GridFunction at given position. | |
Output::DataSetType | dataSetType () const |
Return the data set type of this function. | |
void | setDataSetType (Output::DataSetType dataSetType) |
Set the data set type of this function. | |
make a GridFunction from a Function
G | The GridView type |
T | The function type |
|
inherited |
Type of the GridView.
|
inherited |
|
inherited |
typedef GridFunctionTraits<G, typename T::Traits::RangeFieldType, T::Traits::dimRange, typename T::Traits::RangeType> Dune::PDELab::FunctionToGridFunctionAdapter< G, T >::Traits |
|
inline |
Create a FunctionToGridFunctionAdapter.
g_ | The GridView |
t_ | The function |
|
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 |
|
inline |
|
inlineinherited |
Set the data set type of this function.