![]() |
Dune-Fufem 2.11-git
|
Loading...
Searching...
No Matches
Classes |
Public Types |
Public Member Functions |
Protected Member Functions |
Protected Attributes |
List of all members
CachedComponentWrapper< Imp, AllRangeType, FunctionBaseClass > Class Template Reference
Cached evaluation of local basis functions. More...
#include <dune/fufem/functions/cachedcomponentwrapper.hh>
Public Types | |
| typedef FunctionBaseClass::DomainType | DomainType |
| typedef FunctionBaseClass::RangeType | RangeType |
Public Member Functions | |
| CachedComponentWrapper (const int i=0) | |
| void | setIndex (int i) |
| Select local basis function to evaluate. | |
| RangeType | operator() (const DomainType &x) const |
| Evaluate local basis function selected last using setIndex. | |
Protected Member Functions | |
| const Imp & | asImp () const |
Protected Attributes | |
| int | i_ |
| EvaluationCache | evalCache_ |
Detailed Description
template<class Imp, class AllRangeType, class FunctionBaseClass>
class CachedComponentWrapper< Imp, AllRangeType, FunctionBaseClass >
class CachedComponentWrapper< Imp, AllRangeType, FunctionBaseClass >
Cached evaluation of local basis functions.
This class allows to evaluate single local basis functions efficiently by providing a cache for the evaluation of all functions.
- Template Parameters
-
Imp Implementation providing the evaluateAll method FunctionBaseClass This once was used as a base class. Now it just provides DomainType and RangeType
- Deprecated:
- This class is deprecated and will be removed after 2.11.
Member Typedef Documentation
◆ DomainType
template<class Imp , class AllRangeType , class FunctionBaseClass >
| typedef FunctionBaseClass::DomainType CachedComponentWrapper< Imp, AllRangeType, FunctionBaseClass >::DomainType |
◆ RangeType
template<class Imp , class AllRangeType , class FunctionBaseClass >
| typedef FunctionBaseClass::RangeType CachedComponentWrapper< Imp, AllRangeType, FunctionBaseClass >::RangeType |
Constructor & Destructor Documentation
◆ CachedComponentWrapper()
template<class Imp , class AllRangeType , class FunctionBaseClass >
|
inline |
Member Function Documentation
◆ asImp()
template<class Imp , class AllRangeType , class FunctionBaseClass >
|
inlineprotected |
◆ operator()()
template<class Imp , class AllRangeType , class FunctionBaseClass >
|
inline |
Evaluate local basis function selected last using setIndex.
- Parameters
-
x Local coordinates with respect to entity given in constructor
- Returns
- The result
◆ setIndex()
template<class Imp , class AllRangeType , class FunctionBaseClass >
|
inline |
Select local basis function to evaluate.
- Parameters
-
i Index of the local basis function within the local basis to evaluate next.
Member Data Documentation
◆ evalCache_
template<class Imp , class AllRangeType , class FunctionBaseClass >
|
mutableprotected |
◆ i_
template<class Imp , class AllRangeType , class FunctionBaseClass >
|
protected |
The documentation for this class was generated from the following file:
