<div dir="ltr"><div><div><div>I meant<br><br></div>X^{k+1} = omega*D^{-1}*(b - (A-D)*X^k) + (1-omega)*X^k<br><br></div>This is what the wikipedia page says about weighted Jacobi : <a href="https://en.wikipedia.org/wiki/Jacobi_method#Weighted_Jacobi_method">https://en.wikipedia.org/wiki/Jacobi_method#Weighted_Jacobi_method</a>. It is easy to hard code anyway.<br><br></div><div>Thx<br></div><div><br></div>Timothée<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-12-01 23:10 GMT+09:00 Matthew Knepley <span dir="ltr"><<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Or do you mean<div><br></div><div>  <b style="color:rgb(0,0,0);font-family:Times;font-size:medium">-pc_jacobi_type rowsum</b></div><div><b style="color:rgb(0,0,0);font-family:Times;font-size:medium"><br></b></div><div><b style="color:rgb(0,0,0);font-family:Times;font-size:medium">  Thanks,</b></div><div><b style="color:rgb(0,0,0);font-family:Times;font-size:medium"><br></b></div><div><b style="color:rgb(0,0,0);font-family:Times;font-size:medium">    Matt</b></div></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Tue, Dec 1, 2015 at 3:26 AM, Timothée Nicolas <span dir="ltr"><<a href="mailto:timothee.nicolas@gmail.com" target="_blank">timothee.nicolas@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>OK, I'll look at that, thanks<br><br></div>Timothee<br></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">2015-12-01 18:02 GMT+09:00 Dave May <span dir="ltr"><<a href="mailto:dave.mayhem23@gmail.com" target="_blank">dave.mayhem23@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>I believe what you are looking for is defined by the following options<br></div>  -ksp_type richardson<br></div><div>  -ksp_richardson_scale <value><br></div>  -pc_type jacobi<br><br></div>Thanks,<br></div>  Dave<br></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On 1 December 2015 at 08:57, Timothée Nicolas <span dir="ltr"><<a href="mailto:timothee.nicolas@gmail.com" target="_blank">timothee.nicolas@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi all,<br><br></div>Is weighted Jacobi available as a preconditioner ? I can't find it in the list of preconditioners. If not, what is the rationale between this choice ? It is pretty straightforward to code, so if it is not available I can do it without problem I guess, but I am just wondering. In the matrix-free case where SOR is not available by default, it may be better than pure Jacobi, and much easier to parallelize than SOR.<br><br></div>Best<br><br></div>Timothee<br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div>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</div>
</font></span></div>
</blockquote></div><br></div>