MatLUFactorSymbolic

Performs symbolic LU factorization of matrix. Call this routine before calling MatLUFactorNumeric().

Synopsis

int MatLUFactorSymbolic(Mat mat,IS row,IS col,double f,Mat *fact)
Collective on Mat

Input Parameters

mat - the matrix
row, col - row and column permutations
f - expected fill as ratio of the original number of nonzeros, for example 3.0; choosing this parameter well can result in more efficient use of time and space. Run with the option -log_info to determine an optimal value to use

Output Parameter

fact -new matrix that has been symbolically factored

Notes

See the file ${PETSC_DIR}/Performance for additional information aboutchoosing the fill factor for better efficiency.

Keywords

matrix, factor, LU, symbolic, fill

See Also

MatLUFactor(), MatLUFactorNumeric(), MatCholeskyFactor()

Location: src/mat/interface/matrix.c
Matrix Index
Table of Contents