[petsc-users] Output matrix in CSR format

Matthew Knepley knepley at gmail.com
Tue Jan 20 11:28:53 CST 2015

On Tue, Jan 20, 2015 at 11:25 AM, Chung-Kan Huang <ckhuangf at gmail.com>

> Hi,
> I am trying to output the matrix but when I looked at
> PetscViewerSetFormat It doesn't seem to provide ways to output matrix in
> CSR format.
> Am I looking at the right place?

We don't have an ASCII format for CSR since it does not make much sense.
for readability. The binary format is CSR.



> Thanks,
> Kan
> --
> *Cheers*

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/20150120/be25b6c0/attachment.html>

More information about the petsc-users mailing list