[petsc-users] About MatLUFactor()

Barry Smith bsmith at mcs.anl.gov
Thu Feb 24 21:26:43 CST 2011


  For MATSEQDENSE the factorization is just a thin wrapper to LAPACK, the row, col and info are ignored. You can pass in 0 for all three arguments

   Barry

On Feb 24, 2011, at 8:43 PM, Golam Rabbani wrote:

> Hi,
> 
> I need to use MatLUFactor(), but do not know what to pass for the last 3 arguments. Would you please explain a bit; I did not find any example code for this one.
> 
> PetscErrorCode  MatLUFactor(Mat mat,IS row,IS col,const MatFactorInfo *info)
> My matrix is a dense one and the result from this call will be used in MatMatSolve().
> 
> Regards,
> Golam



More information about the petsc-users mailing list