[petsc-users] PCDiagonalScale

Jed Brown jed at 59A2.org
Wed Feb 23 09:57:30 CST 2011

On Wed, Feb 23, 2011 at 16:45, Klaij, Christiaan <C.Klaij at marin.nl> wrote:

> 3) at line 253 I added :
>      call PCDiagonalScale(pc,PETSC_TRUE,ierr)

This is not the correct interface. You want PCDiagonalScaleSet(pc,X,ierr).
PCDiagonalScale() is a getter with petsc-3.1 and is not available from
Fortran (but you don't need it). The naming has been made consistent in
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110223/406fe12e/attachment.htm>

More information about the petsc-users mailing list