[petsc-users] Zero diagonal term for direct solver
Qin Lu
lu_qin_2000 at yahoo.com
Wed Jul 8 13:42:55 CDT 2020
Hello,
I am using the Petsc native direct solver (with KSPPREONLY and PCLU) to solver a small Linear equation system. The matrix has a couple of diagonal terms with value 0, which makes the solver fail. Then I set a very small value (e.g., 1e-10) at these terms and the solver works. Can this cause noticeable errors in the solution? Are there any options in Petsc to make the direct solver do row/column pivoting so that all the diagonal terms are non-zero?
Thanks for any suggestions.
Regards,Qin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20200708/f44f8a74/attachment.html>
More information about the petsc-users
mailing list