On Mon, Jul 16, 2012 at 3:47 PM, Thomas Hisch <span dir="ltr"><<a href="mailto:t.hisch@gmail.com" target="_blank">t.hisch@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello list,<br>
<br>
is it possible to store just the nonzero pattern of a large (sparse)<br>
matrix in a file? If I write the whole matrix to disk<br>
(PetscViewerBinaryOpen/MatView) its size is about 30MB. As I only need<br>
its structure it would be a good idea to load and store just the<br>
non-zero pattern of the matrix.<br>
<br>
Has anyone tried to do that and are there corresponding functions in petsc-dev?<br></blockquote><div><br></div><div>This is not in PETSc currrently. It would not be hard to do by commenting out the</div><div>value parts in the source.</div>
<div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Regards<br>
<span class="HOEnZb"><font color="#888888">Thomas<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener<br>