KASKADE 7 development version
|
Simple Implementation for SparseLinearSystem. More...
#include <linearsystem.hh>
Simple Implementation for SparseLinearSystem.
Definition at line 66 of file linearsystem.hh.
Public Member Functions | |
SimpleSparseLinearSystem (std::vector< int >const &ridx, std::vector< int >const &cidx, std::vector< double >const &data, std::vector< double >const &rhs_) | |
Construction. More... | |
virtual void | getMatrixBlocks (MatrixAsTriplet< double > &mat_, int rbegin, int rend, int colbegin, int colend) const |
Return matrix blocks of the linear system in triplet format. More... | |
virtual void | getRHSBlocks (std::vector< double > &rhs_, int rbegin, int rend) const |
Return components of the right hand side of the linear system. More... | |
virtual int | cols (int colbegin, int colend) const |
virtual int | rows (int rowbegin, int rowend) const |
virtual double | getValue () const |
value of function More... | |
virtual int | nColBlocks () const |
number of column blocks More... | |
virtual int | nRowBlocks () const |
number of row blocks More... | |
virtual void | getMatrix (MatrixAsTriplet< double > &mat) const |
Return the matrix of the linear system in triplet format. More... | |
virtual void | getRHS (std::vector< double > &rhs) const |
Return the right hand side of the linear system. More... | |
virtual int | size () const |
Return the number of variables of the linear system. More... | |
|
inline |
Construction.
Definition at line 70 of file linearsystem.hh.
|
inlinevirtual |
Implements Kaskade::SparseLinearSystem.
Definition at line 81 of file linearsystem.hh.
|
inlinevirtualinherited |
Return the matrix of the linear system in triplet format.
Definition at line 33 of file linearsystem.hh.
Referenced by Kaskade::DirectLinearSolver< Scalar, SparseInt >::solve(), and Kaskade::Bridge::DirectInnerSolver< DirectSolver >::solveAdjAndNormal().
|
inlinevirtual |
Return matrix blocks of the linear system in triplet format.
Implements Kaskade::SparseLinearSystem.
Definition at line 78 of file linearsystem.hh.
|
inlinevirtualinherited |
Return the right hand side of the linear system.
Definition at line 36 of file linearsystem.hh.
Referenced by Kaskade::DirectLinearSolver< Scalar, SparseInt >::resolve().
|
inlinevirtual |
Return components of the right hand side of the linear system.
Implements Kaskade::SparseLinearSystem.
Definition at line 80 of file linearsystem.hh.
|
inlinevirtual |
value of function
Implements Kaskade::SparseLinearSystem.
Definition at line 84 of file linearsystem.hh.
|
inlinevirtual |
number of column blocks
Implements Kaskade::SparseLinearSystem.
Definition at line 86 of file linearsystem.hh.
|
inlinevirtual |
number of row blocks
Implements Kaskade::SparseLinearSystem.
Definition at line 87 of file linearsystem.hh.
|
inlinevirtual |
Implements Kaskade::SparseLinearSystem.
Definition at line 82 of file linearsystem.hh.
|
inlinevirtualinherited |
Return the number of variables of the linear system.
Definition at line 39 of file linearsystem.hh.
Referenced by Kaskade::Bridge::DirectInnerSolver< DirectSolver >::solveAdjAndNormal().