[petsc-users] How to get Matrix from MatGetArray()

behzad baghapour behzad.baghapour at gmail.com
Sat Oct 1 00:39:59 CDT 2011

Dear All,

I just be able to get right answer from MatGetArray( A, &a ) only if I
define matrix in Dense fromat.

How could I get the right Answer from this function when I define SparseAIJ

Thanks a lot,

Behzad Baghapour
Ph.D. Candidate, Mechecanical Engineering
University of Tehran, Tehran, Iran
Fax: 0098-21-88020741
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20111001/cb7dc60a/attachment-0001.htm>

More information about the petsc-users mailing list