how to inverse a sparse matrix in Petsc?

Matthew Knepley knepley at gmail.com
Mon Feb 4 00:46:29 CST 2008


On Feb 4, 2008 12:37 AM, Yujie <recrusader at gmail.com> wrote:
> Hi,
> Now, I want to inverse a sparse matrix. I have browsed the manual, however,
> I can't find some information. could you give me some advice?

This is generally a bad idea since the inverse is dense. However, you can
use sparse direct factorization if you configure with 3rd party packages like
MUMPS, SuperLU, DSCPACK, or Spooles.

   Matt

> thanks a lot.
>
> Regards,
> Yujie
-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which
their experiments lead.
-- Norbert Wiener




More information about the petsc-users mailing list