24#ifndef _GEMA_LIS_MATRIX_H_
25#define _GEMA_LIS_MATRIX_H_
29struct LIS_MATRIX_STRUCT;
30typedef struct LIS_MATRIX_STRUCT *LIS_MATRIX;
44 virtual void clear(
bool keepSparseLayout);
45 virtual void clearLineAndColumnSet(
const QVector<int>& indexList,
bool setDiagonal,
bool keepSparseLayout);
46 virtual void ensureDiagonal();
A class for wrapping up a LIS sparse matrix
Definition lisMatrix.h:35
virtual void matrixLayoutReady()
Allocates space for matrix values and build the LIS wrapper over matrix vectors.
Definition lisMatrix.cpp:69
LIS_MATRIX lis() const
Returns the Lis matrix wrapped by this class.
Definition lisMatrix.h:42
LIS_MATRIX _lisMat
A Lis wrapper over the sparse matrix stored by the base class, without allocating additional memory.
Definition lisMatrix.h:53
virtual ~LisMatrix()
Destructor.
Definition lisMatrix.cpp:57
LisMatrix(int nlin, const LisMatrix *sharedLayout, GmSparseMatrixOptions options)
Constructor for the square matrix used by the LIS solver. If sharedLayout is different from NULL,...
Definition lisMatrix.cpp:42