template<typename _MatrixType>
SuperILU class
A sparse direct incomplete LU factorization and solver based on the SuperLU library.
Template parameters | |
---|---|
_MatrixType | the type of the sparse matrix A, it must be a SparseMatrix<> |
Contents
- Reference
This class allows to solve for an approximate solution of A.X = B sparse linear problems via an incomplete LU factorization using the SuperLU library. This class is aimed to be used as a preconditioner of the iterative linear solvers.
This class follows the sparse solver concept.
Base classes
-
template<typename _MatrixType, typename Derived>class SuperLUBase
- The base class for the direct and incomplete LU factorization of SuperLU.
Public functions
- void analyzePattern(const MatrixType& matrix)
- void factorize(const MatrixType& matrix)
Function documentation
template<typename _MatrixType>
void Eigen:: SuperILU<_MatrixType>:: analyzePattern(const MatrixType& matrix)
Performs a symbolic decomposition on the sparcity of matrix.
This function is particularly useful when solving for several problems having the same structure.
template<typename _MatrixType>
void Eigen:: SuperILU<_MatrixType>:: factorize(const MatrixType& matrix)
Performs a numeric decomposition of matrix
The given matrix must has the same sparcity than the matrix on which the symbolic decomposition has been performed.