dune-fem 2.8.0
|
An abstract operator Interface class for Operators. Operators are applied to Functions and the result is a Function again. More...
#include <dune/fem/operator/common/operator.hh>
Public Types | |
typedef DType | DomainType |
typedef RType | RangeType |
typedef DFieldType | DomainFieldType |
typedef RFieldType | RangeFieldType |
typedef DType | DomainFunctionType |
type of discrete function in the operator's domain | |
typedef RType | RangeFunctionType |
type of discrete function in the operator's range | |
Public Member Functions | |
void | operator() (const DomainType &arg, RangeType &dest) const |
Application operator that applies all operators in the linear combination stack. | |
virtual void | operator() (const DomainFunctionType &u, RangeFunctionType &w) const=0 |
application operator | |
virtual void | finalize () |
finalization of operator | |
Protected Types | |
typedef Fem::Mapping< DFieldType, RFieldType, DType, RType > | MappingType |
type of mapping base class | |
Protected Member Functions | |
virtual void | apply (const DomainType &arg, RangeType &dest) const |
The method apply calls the application operator. The method has to be implemented here, because this method called when a mapping list is evaluated. | |
Related Functions | |
(Note that these are not member functions.) | |
template<class DFieldType , class RFieldType , class DType , class RType > | |
static Mapping< DFieldType, RFieldType, DType, RType > | operator+ (const Mapping< DFieldType, RFieldType, DType, RType > &a, const Mapping< DFieldType, RFieldType, DType, RType > &b) |
add two mappings | |
template<class DFieldType , class RFieldType , class DType , class RType > | |
static Mapping< DFieldType, RFieldType, DType, RType > | operator- (const Mapping< DFieldType, RFieldType, DType, RType > &a, const Mapping< DFieldType, RFieldType, DType, RType > &b) |
substract two mappings | |
template<class DFieldType , class RFieldType , class DType , class RType > | |
static Mapping< DFieldType, RFieldType, DType, RType > | operator* (const Mapping< DFieldType, RFieldType, DType, RType > &mapping, const RFieldType &factor) |
scale mapping with factor | |
template<class DFieldType , class RFieldType , class DType , class RType > | |
static Mapping< DFieldType, RFieldType, DType, RType > | operator* (const RFieldType &factor, const Mapping< DFieldType, RFieldType, DType, RType > &mapping) |
scale mapping with factor | |
template<class DFieldType , class RFieldType , class DType , class RType > | |
static Mapping< DFieldType, RFieldType, DType, RType > | operator/ (const Mapping< DFieldType, RFieldType, DType, RType > &mapping, const RFieldType &factor) |
operator / for mappings | |
template<class DFieldType , class RFieldType , class DType , class RType > | |
static Mapping< DFieldType, RFieldType, DType, RType > | operator/ (const RFieldType &factor, const Mapping< DFieldType, RFieldType, DType, RType > &mapping) |
operator / for mappings | |
An abstract operator Interface class for Operators. Operators are applied to Functions and the result is a Function again.
typedef DFieldType Dune::Operator< DFieldType, RFieldType, DType, RType >::DomainFieldType |
|
inherited |
type of discrete function in the operator's domain
typedef DType Dune::Operator< DFieldType, RFieldType, DType, RType >::DomainType |
|
protected |
type of mapping base class
typedef RFieldType Dune::Operator< DFieldType, RFieldType, DType, RType >::RangeFieldType |
|
inherited |
type of discrete function in the operator's range
typedef RType Dune::Operator< DFieldType, RFieldType, DType, RType >::RangeType |
|
inlineprotectedvirtual |
The method apply calls the application operator. The method has to be implemented here, because this method called when a mapping list is evaluated.
[in] | arg | argument |
[out] | dest | destination |
Reimplemented from Dune::Fem::Mapping< DFieldType, RFieldType, DType, RType >.
|
inlinevirtualinherited |
finalization of operator
|
pure virtualinherited |
application operator
[in] | u | argument discrete function |
[out] | w | destination discrete function |
Implemented in Dune::Fem::VtxProjection< DType, RType >.
|
inlineinherited |
Application operator that applies all operators in the linear combination stack.
[in] | arg | argument |
[out] | dest | destination |
|
related |
scale mapping with factor
[in] | mapping | Mapping which is scaled |
[in] | factor | factor with which mapping is scaled |
|
related |
scale mapping with factor
[in] | factor | factor with which mapping is scaled |
[in] | mapping | Mapping which is scaled |
|
related |
add two mappings
[in] | a | mapping 1 |
[in] | b | mapping 2 |
|
related |
substract two mappings
[in] | a | mapping 1 |
[in] | b | mapping 2 |
|
related |
operator / for mappings
[in] | mapping | mapping which is divided |
[in] | factor | f factor by which result of mapping is divided |
|
related |
operator / for mappings
[in] | factor | by which result of mapping is divided |
[in] | mapping | which is divided |