[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
- To: petsc-users@xxxxxxxxxxx
- Subject: How can I use BICGStab on a matrix with zero entries on the diagonal
- From: "Zhu Liang" <liangcanada@xxxxxxxxx>
- Date: Mon, 13 Aug 2007 05:46:33 +0800
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=gc/JCWEeREJ2A6kl6yJshtyx2s/rdPMyhGW937i8BrNUZDIfk9JtZ0fKJhBi5QphrY46HcH7xm/elIOQyQkxc8CtRt+WxZ+X8cDiJVcUyx9Mq98kUj8JBjjFqHdL7ap1XfQrWKdxng7TTEoYJtF010Pr8bbRr4rOnbVlhJ7PRz4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=IHvJG47d6QtGpEtpe+DjRVwCxQBRMucJlMfMIrjd/d1V4T1i7SN7UvhdRnJEAJufIeVDYfgfgtvphFV60DLOc+ZrQGKG0NtMJ4M24/iscvE7uO2j3m7wT4N7sAMdY0pfnSYbJyBNR2seWivs9Yam9TQ55M55bvmKfYvu8gZ75LM=
- Reply-to: petsc-users@xxxxxxxxxxx
- Sender: owner-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