[petsc-users] Is there a way to print out the nonzero structure of a matrix?

Matthew Knepley knepley at gmail.com
Sat Jul 30 20:01:50 CDT 2011


On Sat, Jul 30, 2011 at 11:44 PM, Xuefei (Rebecca) Yuan <xyuan at lbl.gov>wrote:

> Hello,
>
> I would like to print out the nonzero structure of the analytic Jacobian
> through PETSc, is there any example on that?
>

-mat_view_draw?

   Matt


> Thanks very much!
>
> Xuefei (Rebecca) Yuan
> Postdoctoral Fellow
> Lawrence Berkeley National Laboratory
> Tel: 1-510-486-7031
>
>
>


-- 
What most experimenters take for granted before they begin their experiments
is infinitely more interesting than any results to which their experiments
lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110731/b6d4a9b4/attachment.htm>


More information about the petsc-users mailing list