[petsc-users] Determine the positive definiteness

Matthew Knepley knepley at gmail.com
Thu Jan 10 11:46:36 CST 2013


On Thu, Jan 10, 2013 at 10:44 AM, w_ang_temp <w_ang_temp at 163.com> wrote:

> Hello,
>
>     I want to determine the positive definiteness. So I want to know
>
> if it is a right way.
>
>     I use "-ksp_type cg -pc_type none". You know, CG does not work for
>
> indefinite matrices. I get "Linear solve did not converge due to
>
> DIVERGED_INDEFINITE_MAT". From the information, I think it is indefinite.
>
> Is it a right way?
>

Its not full proof, but it could be a diagnostic.

  Matt


>     Thanks.
>
>                                             Jim
>
>
>


-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130110/3db38021/attachment.html>


More information about the petsc-users mailing list