DUNE-FEM (unstable)
abstract operator More...
#include <dune/fem/operator/common/operator.hh>
Public Member Functions | |
virtual void | operator() (const DomainFunctionType &u, RangeFunctionType &w) const =0 |
application operator More... | |
virtual void | finalize () |
finalization of operator More... | |
virtual bool | nonlinear () const |
Detailed Description
class Dune::Fem::Operator< DomainFunction, RangeFunction >
abstract operator
Operators map a discrete function onto another discrete function. Their interface is described by the abstract class Operator.
- Template Parameters
-
DomainFunction type of discrete function for the domain RangeFunction type of discrete function for the range (defaults to DomainFunction)
Member Function Documentation
◆ finalize()
|
inlinevirtual |
finalization of operator
- Note
- The default implementation is empty.
Reimplemented in Dune::Fem::SparseRowLinearOperator< DomainFunction, RangeFunction, Matrix >.
Referenced by Dune::Fem::Solver::CGInverseOperator< DiscreteFunction >::operator()().
◆ nonlinear()
|
inlinevirtual |
Return true
if the Operator is nonlinear and false
otherwise (default is true).
Reimplemented in Dune::Fem::LinearOperator< DomainFunction, RangeFunction >, Dune::Fem::LinearOperator< DomainFunction, DomainFunction >, Dune::Fem::LinearOperator< AdaptiveDiscreteFunction< DiscreteFunctionSpace >, AdaptiveDiscreteFunction< DiscreteFunctionSpace > >, and Dune::Fem::LinearOperator< DomainFunction, RangeFunction >.
◆ operator()()
|
pure virtual |
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::NumpyLinearOperator< DomainFunction, RangeFunction >, Dune::Fem::SparseRowLinearOperator< DomainFunction, RangeFunction, Matrix >, Dune::Fem::Solver::CGInverseOperator< DiscreteFunction >, EllipticOperator< DomainDiscreteFunction, RangeDiscreteFunction, Model >, EllipticOperator< JacobianOperator::DomainFunctionType, JacobianOperator::RangeFunctionType, Model >, and Dune::Fem::VtxProjection< DType, RType >.
The documentation for this class was generated from the following file:
- dune/fem/operator/common/operator.hh