[petsc-users] About MatLUFactor()

Golam Rabbani mgrabbani at gmail.com
Fri Feb 25 01:56:30 CST 2011


Oh, It thought MatMatSolve() was there as you mention something about it in
the FAQ. Please add it then.

Thanks,
Golam

On Thu, Feb 24, 2011 at 7:31 PM, Hong Zhang <hzhang at mcs.anl.gov> wrote:

> 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
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110224/89b926ee/attachment.htm>


More information about the petsc-users mailing list