DUNE-FEM (unstable)
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 | 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. More... | |
virtual void | operator() (const DomainFunctionType &u, RangeFunctionType &w) const=0 |
application operator More... | |
virtual void | finalize () |
finalization of operator More... | |
virtual bool | nonlinear () const |
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. More... | |
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 More... | |
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 More... | |
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 More... | |
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 More... | |
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 More... | |
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 More... | |
Detailed Description
class Dune::Operator< DFieldType, RFieldType, DType, RType >
An abstract operator Interface class for Operators. Operators are applied to Functions and the result is a Function again.
Member Function Documentation
◆ apply()
|
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.
- Parameters
-
[in] arg argument [out] dest destination
Reimplemented from Dune::Fem::Mapping< DFieldType, RFieldType, DType, RType >.
References Dune::Fem::Mapping< DFieldType, RFieldType, DType, RType >::operator()().
◆ finalize()
|
inlinevirtualinherited |
finalization of operator
- Note
- The default implementation is empty.
◆ nonlinear()
|
inlinevirtualinherited |
Return true
if the Operator is nonlinear and false
otherwise (default is true).
◆ operator()() [1/2]
|
pure virtualinherited |
application operator
- Parameters
-
[in] u argument discrete function [out] w destination discrete function
- Note
- This method has to be implemented by all derived classes.
Implemented in Dune::Fem::VtxProjection< DType, RType >.
◆ operator()() [2/2]
|
inlineinherited |
Application operator that applies all operators in the linear combination stack.
- Parameters
-
[in] arg argument [out] dest destination
Referenced by Dune::Operator< DFieldType, RFieldType, DType, RType >::apply().
Friends And Related Function Documentation
◆ operator*() [1/2]
|
related |
scale mapping with factor
- Parameters
-
[in] mapping Mapping which is scaled [in] factor factor with which mapping is scaled
- Returns
- new object mapping
References Dune::Fem::MappingOperators::multiplyMapping().
◆ operator*() [2/2]
|
related |
scale mapping with factor
- Parameters
-
[in] factor factor with which mapping is scaled [in] mapping Mapping which is scaled
- Returns
- new object mapping
References Dune::Fem::MappingOperators::multiplyMapping().
◆ operator+()
|
related |
add two mappings
- Parameters
-
[in] a mapping 1 [in] b mapping 2
- Returns
- new object mapping
References Dune::Fem::MappingOperators::addMappings().
◆ operator-()
|
related |
substract two mappings
- Parameters
-
[in] a mapping 1 [in] b mapping 2
- Returns
- new object mapping
References Dune::Fem::MappingOperators::substractMappings().
◆ operator/() [1/2]
|
related |
operator / for mappings
- Parameters
-
[in] mapping mapping which is divided [in] factor f factor by which result of mapping is divided
- Returns
- new object mapping
References Dune::Fem::MappingOperators::divideMapping().
◆ operator/() [2/2]
|
related |
operator / for mappings
- Parameters
-
[in] factor by which result of mapping is divided [in] mapping which is divided
- Returns
- new object mapping
References Dune::Fem::MappingOperators::divideMapping().
The documentation for this class was generated from the following file:
- dune/fem/operator/common/operator.hh