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

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



By the way, the block of my matrix is like :
 
U ,     a
A^T ,   0
 
 

---------- Forwarded message ----------
From: Zhu Liang <liangcanada@xxxxxxxxx>
Date: Aug 13, 2007 5:46 AM
Subject: How can I use BICGStab on a matrix with zero entries on the diagonal
To: petsc-users@xxxxxxxxxxx

 
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