DUNE PDELab (2.8)
Dune::PDELab::AnalyticGridFunctionBase< T, Imp > Class Template Reference
an analytic grid function More...
#include <dune/pdelab/common/function.hh>
Public Types | |
typedef LeafNodeTag | NodeTag |
The type tag that describes a LeafNode. | |
Public Member Functions | |
AnalyticGridFunctionBase (const typename Traits::GridViewType &g_) | |
Construct an Analytic GridFunctionBase given a GridView g_. | |
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. | |
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. | |
static const std::size_t | CHILDREN = 0 |
Leafs have no children. | |
Detailed Description
template<typename T, typename Imp>
class Dune::PDELab::AnalyticGridFunctionBase< T, Imp >
class Dune::PDELab::AnalyticGridFunctionBase< T, Imp >
an analytic grid function
This is a convenience class which eases the creation of analytic GridFunctions. Classes derived from it need only implement a method evaluateGlobal(const Dune::FieldVector<typename Traits::DomainFieldType,GV::dimensionworld> &x_global, RangeType &y) to have a full-fledged GridFunction.
- Template Parameters
-
T The Traits class Imp Class implementing the function. Imp must be derived from AnalyticGridFunctionBase in some way (Barton-Nackman-Trick).
Member Function Documentation
◆ evaluate()
template<typename T , typename 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 |
generated with Hugo v0.111.3
(Dec 21, 23:30, 2024)