[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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