#include <operators.hh>
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).
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: ![]() |