On Mon, Jul 16, 2012 at 11:44 PM, Matthew Knepley <knepley at gmail.com> wrote: > On Mon, Jul 16, 2012 at 3:47 PM, Thomas Hisch <t.hisch at gmail.com> wrote: >> >> Hello list, >> >> is it possible to store just the nonzero pattern of a large (sparse) >> matrix in a file? If I write the whole matrix to disk >> (PetscViewerBinaryOpen/MatView) its size is about 30MB. As I only need >> its structure it would be a good idea to load and store just the >> non-zero pattern of the matrix. >> >> Has anyone tried to do that and are there corresponding functions in >> petsc-dev? > > > This is not in PETSc currrently. It would not be hard to do by commenting > out the > value parts in the source.
In which file do I have to look at ? Thomas
