Dear PETSc users,

I would like to know if I can replace the following functions

MatLUFactorNumeric(Mat fact,Mat mat,const MatFactorInfo *info)
MatLUFactorSymbolic(Mat fact,Mat mat,IS row,IS col,const MatFactorInfo *info)
MatLUFactor(Mat mat,IS row,IS col,const MatFactorInfo *info)

by

MatLUFactorNumeric_KLU(Mat F,Mat A,const MatFactorInfo *info)
MatLUFactorSymbolic_KLU(Mat F,Mat A,IS r,IS c,const MatFactorInfo *info)
MatGetFactor_seqaij_klu(Mat A,MatFactorType ftype,Mat *F)

in my code for the simulation of electrical power systems? (I installed the 
package SuiteSparse)

Thank you,
Best regards,
Romain

Reply via email to