|
| | HypreMatrix (int nlin, const HypreMatrix *sharedLayout, GmSparseMatrixOptions options) |
| | Constructor for the square matrix used by the HYPRE solver. If sharedLayout is different from NULL, this matrix layout will be given by it.
|
| |
|
virtual | ~HypreMatrix () |
| | Destructor.
|
| |
|
HYPRE_MATRIX | hypre () const |
| | Returns the HYPRE matrix wrapped by this class.
|
| |
| virtual void | clear (bool keepSparseLayout) |
| |
| virtual void | clearLineAndColumnSet (const QVector< int > &indexList, bool setDiagonal, bool keepSparseLayout) |
| |
| virtual void | ensureDiagonal () |
| |
|
bool | setMatrixValues () |
| |
|
| GmSparseMatrix (int n, const GmSparseMatrix< IndexType, T > *sharedLayout, GmSparseMatrixOptions options, bool arma) |
| |
| virtual bool | supportsBatchInsert () const |
| |
| virtual bool | supportsSparseLayouts () const |
| |
| virtual bool | supportsRandomSet () const |
| |
| virtual ParallelAddMode | supportedParallelAddMode () const |
| |
| virtual bool | beginBatchInsert (size_t expectedEntries=0) |
| |
| virtual bool | endBatchInsert (bool discardData=false) |
| |
| virtual GmSparseMatrixLayoutBuilder * | layoutBuilder () const |
| |
| virtual bool | emptyLayout () const |
| |
| virtual bool | symmetric () const |
| |
| virtual void | setSymmetric (bool sym) |
| |
| virtual bool | isSymmetric (double relTol=GM_DOUBLECMP_RELTOL, double absTol=GM_DOUBLECMP_ABSTOL) const |
| |
| virtual int | nlin () const |
| |
| virtual int | ncol () const |
| |
| virtual int | layoutSize () const |
| |
| virtual double | at (int lin, int col) const |
| |
| virtual bool | inLayout (int lin, int col) const |
| |
| virtual void | set (int lin, int col, double value) |
| |
| virtual void | set (GmSolverMatrix *A, GmSolverMatrix *B, double c, bool sameStructure) |
| |
| virtual void | add (int lin, int col, double value) |
| |
| virtual void | matAdd (const GmVector &a, const GmVector &b, double zeroTol=0.0) |
| |
| virtual void | mul (const GmVector &a, GmVector &b) const |
| |
| virtual void | mulAdd (const GmVector &a, GmVector &b) const |
| |
| virtual void | mulSub (const GmVector &a, GmVector &b) const |
| |
| virtual void | columnMulAdd (int col, GmVector &f, double v, const bool *skipRows=NULL) const |
| |
| virtual size_t | usedMemory () const |
| |
| virtual bool | hasNanInf () const |
| |
| virtual bool | saveMatrixCoordinatesToFile (FILE *f) const |
| |
|
double | operator() (int lin, int col) const |
| |
|
void | print (const GmLogCategory &logger, GmLogLevel level, int fieldWidth=0, char format='g', int precision=-1) const |
| |