dune-istl
2.1.1
|
A linear operator exporting itself in matrix form. More...
#include <dune/istl/operators.hh>
Public Types | |
typedef M | matrix_type |
export types, usually they come from the derived class | |
typedef X | domain_type |
The type of the domain of the operator. | |
typedef Y | range_type |
The type of the range of the operator. | |
typedef X::field_type | field_type |
The field type of the operator. | |
Public Member Functions | |
virtual const M & | getmat () const =0 |
get matrix via * | |
virtual | ~AssembledLinearOperator () |
every abstract base class has a virtual destructor | |
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: ![]() |
A linear operator exporting itself in matrix form.
Linear Operator that exports the operator in matrix form. This is needed for certain solvers, such as LU decomposition, ILU preconditioners or BiCG-Stab (because of multiplication with A^T).
typedef X Dune::AssembledLinearOperator< M, X, Y >::domain_type |
The type of the domain of the operator.
Reimplemented from Dune::LinearOperator< X, Y >.
Reimplemented in Dune::MatrixAdapter< M, X, Y >, Dune::NonoverlappingSchwarzOperator< M, X, Y, C >, and Dune::OverlappingSchwarzOperator< M, X, Y, C >.
typedef X::field_type Dune::AssembledLinearOperator< M, X, Y >::field_type |
The field type of the operator.
Reimplemented from Dune::LinearOperator< X, Y >.
Reimplemented in Dune::MatrixAdapter< M, X, Y >, Dune::NonoverlappingSchwarzOperator< M, X, Y, C >, and Dune::OverlappingSchwarzOperator< M, X, Y, C >.
typedef M Dune::AssembledLinearOperator< M, X, Y >::matrix_type |
export types, usually they come from the derived class
Reimplemented in Dune::MatrixAdapter< M, X, Y >, Dune::NonoverlappingSchwarzOperator< M, X, Y, C >, and Dune::OverlappingSchwarzOperator< M, X, Y, C >.
typedef Y Dune::AssembledLinearOperator< M, X, Y >::range_type |
The type of the range of the operator.
Reimplemented from Dune::LinearOperator< X, Y >.
Reimplemented in Dune::MatrixAdapter< M, X, Y >, Dune::NonoverlappingSchwarzOperator< M, X, Y, C >, and Dune::OverlappingSchwarzOperator< M, X, Y, C >.
virtual Dune::AssembledLinearOperator< M, X, Y >::~AssembledLinearOperator | ( | ) | [inline, virtual] |
every abstract base class has a virtual destructor
virtual void Dune::LinearOperator< X, Y >::apply | ( | const X & | x, |
Y & | y | ||
) | const [pure virtual, inherited] |
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::NonoverlappingSchwarzOperator< M, X, Y, C >, and Dune::OverlappingSchwarzOperator< M, X, Y, C >.
Referenced by Dune::GradientSolver< X >::apply(), Dune::CGSolver< X >::apply(), Dune::BiCGSTABSolver< X >::apply(), Dune::MINRESSolver< X >::apply(), and Dune::RestartedGMResSolver< X, Y, F >::apply().
virtual void Dune::LinearOperator< X, Y >::applyscaleadd | ( | field_type | alpha, |
const X & | x, | ||
Y & | y | ||
) | const [pure virtual, inherited] |
apply operator to x, scale and add:
Implemented in Dune::MatrixAdapter< M, X, Y >, Dune::NonoverlappingSchwarzOperator< M, X, Y, C >, and Dune::OverlappingSchwarzOperator< 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::RestartedGMResSolver< X, Y, F >::apply().
virtual const M& Dune::AssembledLinearOperator< M, X, Y >::getmat | ( | ) | const [pure virtual] |
get matrix via *
Implemented in Dune::MatrixAdapter< M, X, Y >, Dune::NonoverlappingSchwarzOperator< M, X, Y, C >, and Dune::OverlappingSchwarzOperator< M, X, Y, C >.