[petsc-users] Output matrix in CSR format
Barry Smith
bsmith at mcs.anl.gov
Tue Jan 20 11:45:38 CST 2015
> On Jan 20, 2015, at 11:25 AM, Chung-Kan Huang <ckhuangf at gmail.com> wrote:
>
> 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.
You can use PETSC_VIEWER_ASCII_MATRIXMARKET we don't recommend it but some people do use this format.
Barry
>
> Am I looking at the right place?
>
> Thanks,
>
> Kan
> --
> Cheers
>
More information about the petsc-users
mailing list