[petsc-users] MatView changes matrix

WANG, LEI lei.wang at durham.ac.uk
Wed Jul 11 16:06:28 CDT 2018


Dear all

I met a strange problem. The value of the matrix A seems to be changed after MatView(A, viewer). With this MatView, my code can run more steps than without MatView. Why does this happen? Does MatView(A, viewer) do some change on A?

Thank you very much in advance.

Cheers
Lei
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20180711/827066ba/attachment.html>


More information about the petsc-users mailing list