|
dune-istl
2.2.1
|
Adapter to turn a matrix into a linear operator. More...
#include <dune/istl/operators.hh>
Public Types | |
| enum | { category =SolverCategory::sequential } |
| define the category More... | |
| typedef M | matrix_type |
| export types More... | |
| typedef X | domain_type |
| typedef Y | range_type |
| typedef X::field_type | field_type |
Public Member Functions | |
| MatrixAdapter (const M &A) | |
| constructor: just store a reference to a matrix More... | |
| virtual void | apply (const X &x, Y &y) const |
apply operator to x: More... | |
| virtual void | applyscaleadd (field_type alpha, const X &x, Y &y) const |
apply operator to x, scale and add: More... | |
| virtual const M & | getmat () const |
| get matrix via * More... | |
Adapter to turn a matrix into a linear operator.
Adapts a matrix to the assembled linear operator interface
| typedef X Dune::MatrixAdapter< M, X, Y >::domain_type |
| typedef X::field_type Dune::MatrixAdapter< M, X, Y >::field_type |
| typedef M Dune::MatrixAdapter< M, X, Y >::matrix_type |
export types
| typedef Y Dune::MatrixAdapter< M, X, Y >::range_type |
|
inline |
constructor: just store a reference to a matrix
|
inlinevirtual |
apply operator to x:
Implements Dune::LinearOperator< X, Y >.
|
inlinevirtual |
apply operator to x, scale and add:
Implements Dune::LinearOperator< X, Y >.
|
inlinevirtual |
get matrix via *
Implements Dune::AssembledLinearOperator< M, X, Y >.
1.8.3.1