[petsc-users] inspect contents of a big matrix

Jed Brown jedbrown at mcs.anl.gov
Wed Nov 23 07:57:53 CST 2011


On Wed, Nov 23, 2011 at 07:54, Dominik Szczerba <dominik at itis.ethz.ch>wrote:

> Binary seems to work but I do not know how to peek the values stored there.
>

bin/matlab/PetscBinaryRead.m

or the python equivalent in bin/python/

or MatGetSubMatrix() the part you find interesting and view that

or MatGetValues()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20111123/0a75f816/attachment.htm>


More information about the petsc-users mailing list