Dune Core Modules (2.5.0)
Dune::MatrixAdapter< M, X, Y > Class Template Reference
Adapter to turn a matrix into a linear operator. More...
#include <dune/istl/operators.hh>
Public Types | |
enum | |
define the category | |
typedef M | matrix_type |
export types | |
Public Member Functions | |
MatrixAdapter (const M &A) | |
constructor: just store a reference to a matrix | |
virtual void | apply (const X &x, Y &y) const |
apply operator to x: \( y = A(x) \) | |
virtual void | applyscaleadd (field_type alpha, const X &x, Y &y) const |
apply operator to x, scale and add: \( y = y + \alpha A(x) \) | |
virtual const M & | getmat () const |
get matrix via * | |
Detailed Description
template<class M, class X, class Y>
class Dune::MatrixAdapter< M, X, Y >
class Dune::MatrixAdapter< M, X, Y >
Adapter to turn a matrix into a linear operator.
Adapts a matrix to the assembled linear operator interface
The documentation for this class was generated from the following file:
- dune/istl/operators.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 12, 23:30, 2024)