[petsc-users] Why MatMult(A, x, Ax) != A*x?

Jed Brown jed at 59A2.org
Sun Nov 28 14:20:41 CST 2010


On Sun, Nov 28, 2010 at 21:18, Jed Brown <jed at 59a2.org> wrote:

> PetscViewer viewer = PETSC_VIEWER_BINARY(PETSC_COMM_WORLD);
>

This line should read:

  PetscViewer viewer = PETSC_VIEWER_BINARY_(PETSC_COMM_WORLD);

You can use PetscViewerBinaryOpen for more control, and to specify the
filename.

Jed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20101128/cb24fd6b/attachment.htm>


More information about the petsc-users mailing list