DUNE PDELab (unstable)
Dune::PDELab::GridFunctionBaseAdapter< Imp > Class Template Reference
Turn an ordinary GridFunction into a GridFunctionTree leaf. More...
#include <dune/pdelab/common/function.hh>
Public Types | |
| typedef LeafNodeTag | NodeTag |
| The type tag that describes a LeafNode. | |
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 | |
| 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. | |
Static Public Attributes | |
| static const bool | isLeaf = true |
| Mark this class as a leaf in a dune-typetree. | |
| static const bool | isPower = false |
| Mark this class as a non power in the dune-typetree. | |
| static const bool | isComposite = false |
| Mark this class as a non composite in the dune-typetree. | |
Detailed Description
template<class Imp>
class Dune::PDELab::GridFunctionBaseAdapter< Imp >
class Dune::PDELab::GridFunctionBaseAdapter< Imp >
Turn an ordinary GridFunction into a GridFunctionTree leaf.
- Template Parameters
-
Imp Class implementing the function.
Constructor & Destructor Documentation
◆ GridFunctionBaseAdapter()
template<class Imp >
|
inline |
construct a GridFunctionBaseAdapter
- Parameters
-
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.
Member Function Documentation
◆ evaluate()
template<class Imp >
|
inline |
Evaluate the GridFunction at given position.
Evaluates components of the grid function at the given position and returns these values in a vector.
- Parameters
-
[in] e The entity to evaluate on [in] x The position in entity-local coordinates [out] y The result of the evaluation
The documentation for this class was generated from the following file:
- dune/pdelab/common/function.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden & Uni Heidelberg |
generated with Hugo v0.111.3
(Nov 2, 23:43, 2025)