![]() |
KASKADE 7 development version
|
Abstract base class for a sparse linear system. More...
#include <linearsystem.hh>
Public Member Functions | |
| virtual void | getMatrix (MatrixAsTriplet< double > &mat) const |
| Return the matrix of the linear system in triplet format. | |
| virtual void | getRHS (std::vector< double > &rhs) const |
| Return the right hand side of the linear system. | |
| virtual int | size () const |
| Return the number of variables of the linear system. | |
| virtual int | rows (int rbegin, int rend) const =0 |
| virtual int | cols (int colbegin, int colend) const =0 |
| virtual void | getMatrixBlocks (MatrixAsTriplet< double > &mat, int rbegin, int rend, int colbegin, int colend) const =0 |
| Return matrix blocks of the linear system in triplet format. | |
| virtual double | getValue () const =0 |
| value of function | |
| virtual void | getRHSBlocks (std::vector< double > &rhs, int rbegin, int rend) const =0 |
| Return components of the right hand side of the linear system. | |
| virtual int | nColBlocks () const =0 |
| number of column blocks | |
| virtual int | nRowBlocks () const =0 |
| number of row blocks | |
| virtual | ~SparseLinearSystem () |
Abstract base class for a sparse linear system.
Definition at line 29 of file linearsystem.hh.
|
inlinevirtual |
Definition at line 59 of file linearsystem.hh.
|
pure virtual |
Implemented in Kaskade::SimpleSparseLinearSystem.
Referenced by size().
|
inlinevirtual |
Return the matrix of the linear system in triplet format.
Definition at line 33 of file linearsystem.hh.
|
pure virtual |
Return matrix blocks of the linear system in triplet format.
Implemented in Kaskade::SimpleSparseLinearSystem.
Referenced by getMatrix().
|
inlinevirtual |
Return the right hand side of the linear system.
Definition at line 36 of file linearsystem.hh.
|
pure virtual |
Return components of the right hand side of the linear system.
Implemented in Kaskade::SimpleSparseLinearSystem.
Referenced by getRHS().
|
pure virtual |
value of function
Implemented in Kaskade::SimpleSparseLinearSystem.
|
pure virtual |
number of column blocks
Implemented in Kaskade::SimpleSparseLinearSystem.
Referenced by getMatrix(), and size().
|
pure virtual |
number of row blocks
Implemented in Kaskade::SimpleSparseLinearSystem.
Referenced by getMatrix(), and getRHS().
|
pure virtual |
Implemented in Kaskade::SimpleSparseLinearSystem.
|
inlinevirtual |
Return the number of variables of the linear system.
Definition at line 39 of file linearsystem.hh.