dune-istl
2.4
|
A linear operator. More...
#include <dune/istl/operators.hh>
Public Types | |
typedef X | domain_type |
The type of the domain of the operator. More... | |
typedef Y | range_type |
The type of the range of the operator. More... | |
typedef X::field_type | field_type |
The field type of the operator. More... | |
Public Member Functions | |
virtual void | apply (const X &x, Y &y) const =0 |
apply operator to x: ![]() | |
virtual void | applyscaleadd (field_type alpha, const X &x, Y &y) const =0 |
apply operator to x, scale and add: ![]() | |
virtual | ~LinearOperator () |
every abstract base class has a virtual destructor More... | |
A linear operator.
Abstract base class defining a linear operator , i.e.
and
hold. The simplest solvers just need the application
of the operator.
typedef X Dune::LinearOperator< X, Y >::domain_type |
The type of the domain of the operator.
typedef X::field_type Dune::LinearOperator< X, Y >::field_type |
The field type of the operator.
typedef Y Dune::LinearOperator< X, Y >::range_type |
The type of the range of the operator.
|
inlinevirtual |
every abstract base class has a virtual destructor
|
pure virtual |
apply operator to x: The input vector is consistent and the output must also be consistent on the interior+border partition.
Implemented in Dune::MatrixAdapter< M, X, Y >, Dune::OverlappingSchwarzOperator< M, X, Y, C >, and Dune::NonoverlappingSchwarzOperator< M, X, Y, C >.
Referenced by Dune::GradientSolver< X >::apply(), Dune::CGSolver< X >::apply(), Dune::BiCGSTABSolver< X >::apply(), Dune::MINRESSolver< X >::apply(), and Dune::GeneralizedPCGSolver< X >::apply().
|
pure virtual |
apply operator to x, scale and add:
Implemented in Dune::MatrixAdapter< M, X, Y >, Dune::OverlappingSchwarzOperator< M, X, Y, C >, and Dune::NonoverlappingSchwarzOperator< M, X, Y, C >.
Referenced by Dune::LoopSolver< X >::apply(), Dune::GradientSolver< X >::apply(), Dune::CGSolver< X >::apply(), Dune::BiCGSTABSolver< X >::apply(), Dune::MINRESSolver< X >::apply(), and Dune::GeneralizedPCGSolver< X >::apply().