[petsc-users] zero diagonals

hxie at umn.edu hxie at umn.edu
Mon Apr 19 16:04:21 CDT 2010


I have a matrix with some zero diagonals. Now I create a new matrix for 
preconditioner and use Matshift to avoid the zero diagonals in the 
preconditioner matrix. It works fine. Is that possible to just use the 
command line options? If I just want to shift the zero diagonals, how can I 
do that? Thanks.


More information about the petsc-users mailing list