|
dune-pdelab 2.8
|
GridFunction implemented by a member function of some class. More...
#include <dune/pdelab/function/memberadaptor.hh>

Public Types | |
| typedef GridFunctionTraits< GV, RF, dimR, FieldVector< RF, dimR > > | Traits |
| export traits class | |
| typedef GridFunctionTag | ImplementationTag |
| typedef T::GridViewType | GridViewType |
| Type of the GridView. | |
| using | Output = typename Base::Output |
| typedef LeafNodeTag | NodeTag |
Public Member Functions | |
| TwoArgsMemberFunctionToGridFunctionAdaptor (const Class &obj_, Member member_, const GV &gv_) | |
| Construct an adaptor object. | |
| void | evaluate (const typename Traits::ElementType &e, const typename Traits::DomainType &x, typename Traits::RangeType &y) const |
| const GV & | getGridView () const |
| get reference to the internal gridview. | |
| 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. | |
Static Public Member Functions | |
| static constexpr auto | degree () |
Static Public Attributes | |
| static const bool | isLeaf |
| static const bool | isPower |
| static const bool | isComposite |
| static const std::size_t | CHILDREN |
Detailed Description
class Dune::PDELab::TwoArgsMemberFunctionToGridFunctionAdaptor< Member, Class, GV, RF, dimR >
GridFunction implemented by a member function of some class.
\tparam Member Member function pointer type. \tparam Class Type of the class containing the member. \tparam GV The type of the GridView \tparam RF The type of the range field \tparam dimRange The dimension of the Range. The member function must support the signature \code
(obj.*member)(typename GV::template Codim<0>::Entity &e, const FieldVector<typename GV::ctype, GV::dimension> &xl) const; The return value should be something assignable to FieldVector<RF,dimRange>.
Member Typedef Documentation
◆ GridViewType
|
inherited |
Type of the GridView.
◆ ImplementationTag
|
inherited |
◆ Output
|
inherited |
◆ Traits
| typedef GridFunctionTraits< GV, RF, dimR, FieldVector<RF, dimR> > Dune::PDELab::TwoArgsMemberFunctionToGridFunctionAdaptor< Member, Class, GV, RF, dimR >::Traits |
export traits class
Constructor & Destructor Documentation
◆ TwoArgsMemberFunctionToGridFunctionAdaptor()
|
inline |
Construct an adaptor object.
- Parameters
-
obj_ Class object to call the member function on. member_ Member function pointer to the member to use. gv_ The GridView to use.
This class store the obj_ and gv_ references internally and becomes invalid when they become invalid.
Member Function Documentation
◆ dataSetType()
|
inlineinherited |
Return the data set type of this function.
◆ evaluate() [1/2]
|
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
◆ evaluate() [2/2]
|
inline |
◆ getGridView()
|
inline |
get reference to the internal gridview.
◆ setDataSetType()
|
inlineinherited |
Set the data set type of this function.
The documentation for this class was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8