How can I use BICGStab on a matrix with zero entries on the diagonal

Zhu Liang liangcanada at gmail.com
Sun Aug 12 16:46:33 CDT 2007


Dear petsc-users

When I try to solve a linear equation Ax=b with BicgStab preconditioner, I
got
an error "Matrix is missing diagonal number".  That is because I have zeros
on
the diagonal of the matrix.

I am wondering if there is some simple method to avoid that?

Best,
Liang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20070813/a4ed0be3/attachment.htm>


More information about the petsc-users mailing list