[petsc-dev] on implementing a new PetscViewer

Jed Brown jed at jedbrown.org
Fri Jul 17 18:58:35 CDT 2015

Marco Zocca <zocca.marco at gmail.com> writes:
> (so: no need for copying data back to memory, during normal operation
> of the library)


> I was asking about the Viewer for e.g. Vecs and Mats to hook up e.g.
> with plotting functionality on the Hs side, but since this would be
> needed "offline", I might just dump to file and load from there.

How do you intend to plot matrices (linear operators, not arrays of

For vectors, you might as well access the array via VecGetArrayRead
(managed via a withVec* construct in Haskell).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20150717/9649fb9d/attachment.sig>

More information about the petsc-dev mailing list