<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><DIV>Yes, it <SPAN id="src_1_2" jQuery171021971015700950674="29" data-aligning="#src_1_2,#tran_1_5">is</SPAN> <SPAN id="src_1_3" jQuery171021971015700950674="30" data-aligning="#src_1_3,#tran_1_6">a</SPAN> <SPAN id="src_1_4" jQuery171021971015700950674="31" data-aligning="#src_1_4,#tran_1_7"><B>necessary</B></SPAN><B> </B><SPAN id="src_1_5" jQuery171021971015700950674="32" data-aligning="#src_1_5,#tran_1_8"><B>but</B></SPAN><B> </B><SPAN id="src_1_6" jQuery171021971015700950674="33" data-aligning="#src_1_6,#tran_1_9"><B>not</B></SPAN><B> </B><SPAN id="src_1_7" jQuery171021971015700950674="34" data-aligning="#src_1_7,#tran_1_10"><B>sufficient</B></SPAN> <SPAN id="src_1_8" class="highLight" jQuery171021971015700950674="35" data-aligning="#src_1_8,#tran_1_11">condition.</SPAN><BR><BR>At 2013-01-11 03:56:25,"Barry Smith" <bsmith@mcs.anl.gov> wrote:<BR>><BR>>  
; If cg says indefinite then it is indefinite<BR>> if cg runs and does not say it is indefinite it may still be indefinite (though probably not all that likely).<BR>><BR>> Barry<BR>><BR>>On Jan 10, 2013, at 11:46 AM, Matthew Knepley <knepley@gmail.com> wrote:<BR>><BR>>> On Thu, Jan 10, 2013 at 10:44 AM, w_ang_temp <w_ang_temp@163.com> wrote:<BR>>> Hello,<BR>>> <BR>>> I want to determine the positive definiteness. So I want to know<BR>>> <BR>>> if it is a right way.<BR>>> <BR>>> &nbs
p; I use "-ksp_type cg -pc_type none". You know, CG does not work for<BR>>> <BR>>> indefinite matrices. I get "Linear solve did not converge due to<BR>>> <BR>>> DIVERGED_INDEFINITE_MAT". From the information, I think it is indefinite.<BR>>> <BR>>> Is it a right way?<BR>>> <BR>>> <BR>>> Its not full proof, but it could be a diagnostic.<BR>>> <BR>>> Matt<BR>>> <BR>>> Thanks.<BR>>> <BR>>>  
; Jim<BR>>> <BR>>> <BR>>> <BR>>> <BR>>> <BR>>> <BR>>> -- <BR>>> What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<BR>>> -- Norbert Wiener<BR>><BR></DIV></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>