leaf of a function tree
More...
#include <dune/pdelab/common/function.hh>
Inherits Dune::PDELab::GridFunctionInterface< T, Imp >, and TypeTree::LeafNode.
Inherited by Dune::PDELab::AnalyticGridFunctionBase< AnalyticGridFunctionTraits< GV, RF, 1 >, ConstGridFunction< GV, RF, 1 > >, Dune::PDELab::AnalyticGridFunctionBase< Dune::PDELab::AnalyticGridFunctionTraits< T::Traits::GridViewType, T::Traits::RangeFieldType, T::Traits::GridViewType::dimension >, ConvectionDiffusionVelocityExtensionAdapter< T > >, Dune::PDELab::ProductGridFunctionAdapter< GF2, GF1 >, DiagonalPermeabilityAdapter< T >, Dune::PDELab::ConvectionDiffusionDirichletExtensionAdapter< T >, Dune::PDELab::ConvectionDiffusionExactGradientAdapter< T >, Dune::PDELab::DirichletBoundaryCondition_CD< T >, Dune::PDELab::LinearAcousticsInitialValueAdapter< T >, Dune::PDELab::LinearElasticityDirichletExtensionAdapter< T >, Dune::PDELab::MaxwellInitialValueAdapter< T >, Dune::PDELab::MemberFunctionToGridFunctionAdaptor< Member, Class, GV, RF, dimR >, Dune::PDELab::SelectComponentGridFunctionAdapter< GF, dimR >, Dune::PDELab::TwoArgsMemberFunctionToGridFunctionAdaptor< Member, Class, GV, RF, dimR >, Dune::PDELab::UserFunction< FS, Functor >, Dune::PDELab::VectorDiscreteGridFunction< T, X, dimR >, and PermeabilityAdapter< T >.
|
| GridFunctionBase (typename Output::DataSetType dataSetType=Output::vertexData) |
|
void | evaluate (const typename Traits::ElementType &e, const typename Traits::DomainType &x, typename Traits::RangeType &y) const |
| Evaluate the GridFunction at given position.
|
|
const 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.
|
|
template<class T, class Imp>
class Dune::PDELab::GridFunctionBase< T, Imp >
leaf of a function tree
Classes derived from this class implement a GridFunctionTree.
- Template Parameters
-
T | Traits class holding the functions signature |
Imp | Class implementing the function. Imp must be derived from GridFunctionBase in some way (Barton-Nackman-Trick). |
◆ GridViewType
template<class T , class Imp >
◆ ImplementationTag
template<class T , class Imp >
◆ Output
template<class T , class Imp >
◆ Traits
template<class T , class Imp >
◆ GridFunctionBase()
template<class T , class Imp >
◆ dataSetType()
Output::DataSetType Dune::PDELab::GridFunctionOutputParameters::dataSetType |
( |
| ) |
const |
|
inlineinherited |
Return the data set type of this function.
◆ evaluate()
template<class T , class Imp >
void Dune::PDELab::GridFunctionInterface< T, Imp >::evaluate |
( |
const typename Traits::ElementType & |
e, |
|
|
const typename Traits::DomainType & |
x, |
|
|
typename Traits::RangeType & |
y |
|
) |
| const |
|
inlineinherited |
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 |
◆ getGridView()
template<class T , class Imp >
get a reference to the GridView
◆ setDataSetType()
void Dune::PDELab::GridFunctionOutputParameters::setDataSetType |
( |
Output::DataSetType |
dataSetType | ) |
|
|
inlineinherited |
Set the data set type of this function.
The documentation for this class was generated from the following file: