[petsc-users] viewer support for numpy

Shiyuan Gu shiyuangu at gmail.com
Mon Oct 28 13:56:04 CDT 2013


Thanks Jed.
Is there an convenient way to save petsc objects to a binary file in gdb?




On Mon, Oct 28, 2013 at 1:18 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:

> Shiyuan Gu <shiyuangu at gmail.com> writes:
>
> > Hi all,
> >      Does Petsc provide any support to export and view a petsc
> vector/mat ?
>
> See $PETSC_DIR/bin/pythonscripts/PetscBinaryIO.py.  You can read or
> write the PETSc format as Numpy matrices.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20131028/072e1ce2/attachment.html>


More information about the petsc-users mailing list