[petsc-users] PCDiagonalScale

Jed Brown jed at 59A2.org
Thu Feb 24 03:50:02 CST 2011

On Thu, Feb 24, 2011 at 08:16, Klaij, Christiaan <C.Klaij at marin.nl> wrote:

> OK. So if I understand correctly (?) in Fortan all I need is:
> call KSPGetPC
> call PCDiagonalSet

As per my last message, it is spelled PCDiagonalScaleSet in petsc-3.1.

> call KSPSolve
> I'm using a MatShell and PCShell but I guess that doesn't matter?

That doesn't matter, diagonal scaling occurs at a higher level than the
individual implementation.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110224/16aaeb16/attachment.htm>

More information about the petsc-users mailing list