<div class="gmail_quote">On Tue, Nov 22, 2011 at 03:19, behzad baghapour <span dir="ltr">&lt;<a href="mailto:behzad.baghapour@gmail.com">behzad.baghapour@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div id=":3ev">OK. Here I think my jacobian or updating rule may not set properly.<br><br>So, Is there any way to update the solution in Newton iteration &quot;without&quot; Linesearch or TrustZone. I mean the normal full update? x^(n+1) = x^n + dx ??</div>
</blockquote></div><br><div>-snes_ls_type basic (or -snes_ls_type basicnonorms)</div><div><br></div><div>Alternatively, you can use -snes_ls_monitor to see what is happening in the line search.</div><div><br></div><div>Perhaps your function is using data from the wrong place (e.g. using the Vec stored in a user context/global instead of the one that is passed in)?</div>