[petsc-users] About MatLUFactor()
Hong Zhang
hzhang at mcs.anl.gov
Thu Feb 24 21:31:29 CST 2011
For sequential dense in-place LU factorization, see
/src/mat/examples/tests/ex1.c.
For parallel, you need install PLAPACK.
It seems we do not have MatMatSolve() for dense matrix format. I can
add it if you need it.
Hong
On Thu, Feb 24, 2011 at 8:43 PM, Golam Rabbani <mgrabbani at gmail.com> 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