petsc-3.4.5 2014-06-29


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


#include "petscmat.h" 
PetscErrorCode  MatLUFactorSymbolic(Mat fact,Mat mat,IS row,IS col,const MatFactorInfo *info)
Collective on Mat

Input Parameters

fact - the factor matrix obtained with MatGetFactor()
mat - the matrix
row, col - row and column permutations
info - options for factorization, includes
         fill - expected fill as ratio of original fill.
         dtcol - pivot tolerance (0 no pivot, 1 full column pivoting)
                  Run with the option -info to determine an optimal value to use


See the <a href="../../docs/manual.pdf">users manual</a> for additional information about choosing the fill factor for better efficiency.

Most users should employ the simplified KSP interface for linear solvers instead of working directly with matrix algebra routines such as this. See, e.g., KSPCreate().

See Also

MatLUFactor(), MatLUFactorNumeric(), MatCholeskyFactor(), MatFactorInfo

Developer Note: fortran interface is not autogenerated as the f90 interface defintion cannot be generated correctly [due to MatFactorInfo]

Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages