[petsc-users] Output non-zero structure of a matrix
    Matthew Knepley 
    knepley at gmail.com
       
    Wed Jul 22 06:37:34 CDT 2015
    
    
  
On Wed, Jul 22, 2015 at 2:13 AM, Justin Chang <jychang48 at gmail.com> wrote:
> Hi everyone,
>
> How do I print out the non-zero structure of a Matrix? Preferably to an
> image file (e.g., png, eps, etc).
>
I think Barry has some support for AfterImage which I do not understand.
However, there is a quick and dirty way. You can view the matrix
  -mat_view draw -draw_pause -1
and then screen capture the window. This is how I made all my sparse
figures.
  Thanks,
     Matt
> Thanks,
> Justin
>
-- 
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/20150722/15a50250/attachment.html>
    
    
More information about the petsc-users
mailing list