|
dune-common 2.9.1
|
Loading...
Searching...
No Matches
Dune::VirtualFunction< DomainType, RangeType > Class Template Referenceabstract
Virtual base class template for function classes. More...
#include <dune/common/function.hh>
Inheritance diagram for Dune::VirtualFunction< DomainType, RangeType >:

Public Types | |
| typedef Function< constDomainType &, RangeType & >::Traits | Traits |
| typedef RawRangeType | RangeType |
| Raw type of input variable with removed reference and constness. | |
| typedef RawDomainType | DomainType |
| Raw type of output variable with removed reference and constness. | |
Public Member Functions | |
| virtual | ~VirtualFunction () |
| virtual void | evaluate (const typename Traits::DomainType &x, typename Traits::RangeType &y) const =0 |
| Function evaluation. | |
Detailed Description
Virtual base class template for function classes.
- See also
- makeVirtualFunction for a helper to convert lambda functions to
VirtualFunctionobjects.
- Template Parameters
-
DomainType The type of the input variable is 'const DomainType &' RangeType The type of the output variable is 'RangeType &'
Member Typedef Documentation
◆ DomainType
|
inherited |
Raw type of output variable with removed reference and constness.
◆ RangeType
|
inherited |
Raw type of input variable with removed reference and constness.
◆ Traits
template<class DomainType , class RangeType >
| typedef Function<constDomainType&,RangeType&>::Traits Dune::VirtualFunction< DomainType, RangeType >::Traits |
Constructor & Destructor Documentation
◆ ~VirtualFunction()
template<class DomainType , class RangeType >
|
inlinevirtual |
Member Function Documentation
◆ evaluate()
template<class DomainType , class RangeType >
|
pure virtual |
Function evaluation.
- Parameters
-
x Argument for function evaluation. y Result of function evaluation.
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