petsc-3.15.0 2021-03-30
Report Typos and Errors

# MatLUFactorNumeric

Performs numeric LU factorization of a matrix. Call this routine after first calling MatLUFactorSymbolic().

### Synopsis

    #include "petscmat.h"
    PetscErrorCode MatLUFactorNumeric(Mat fact,Mat mat,const MatFactorInfo *info)

Collective on Mat

### Input Parameters

| fact | - the factor matrix obtained with MatGetFactor()
| mat | - the matrix
| info | - options for factorization

### Notes

See MatLUFactor() for in-place factorization. See MatCholeskyFactorNumeric() for the symmetric, positive definite case.

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

MatLUFactorSymbolic(), MatLUFactor(), MatCholeskyFactor()

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

### Level

developer

### Location

src/mat/interface/matrix.c

### Implementations

MatLUFactorNumeric_STRUMPACK in src/mat/impls/aij/mpi/strumpack/strumpack.c
MatLUFactorNumeric_SeqAIJ in src/mat/impls/aij/seq/aijfact.c
MatLUFactorNumeric_KLU in src/mat/impls/aij/seq/klu/klu.c
MatLUFactorNumeric_SeqAIJKOKKOS in src/mat/impls/aij/seq/kokkos/aijkok.kokkos.cxx
MatLUFactorNumeric_SeqAIJKOKKOSDEVICE in src/mat/impls/aij/seq/kokkos/aijkok.kokkos.cxx
MatLUFactorNumeric_LUSOL in src/mat/impls/aij/seq/lusol/lusol.c
MatLUFactorNumeric_Matlab in src/mat/impls/aij/seq/matlab/aijmatlab.c
MatLUFactorNumeric_SeqAIJCUSPARSE in src/mat/impls/aij/seq/seqcusparse/aijcusparse.cu
MatLUFactorNumeric_SeqAIJCUSPARSEBAND in src/mat/impls/aij/seq/seqcusparse/aijcusparse.cu
MatLUFactorNumeric_SuperLU in src/mat/impls/aij/seq/superlu/superlu.c
MatLUFactorNumeric_UMFPACK in src/mat/impls/aij/seq/umfpack/umfpack.c
MatLUFactorNumeric_Elemental in src/mat/impls/elemental/matelem.cxx
MatLUFactorNumeric_ScaLAPACK in src/mat/impls/scalapack/matscalapack.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages