The LS implementation is fairly well commented, but you may just need<div><br></div><div> <a href="http://www.mcs.anl.gov/petsc/petsc-dev/docs/manualpages/SNES/SNESLineSearchSet.html">http://www.mcs.anl.gov/petsc/petsc-dev/docs/manualpages/SNES/SNESLineSearchSet.html</a></div>
<div><br></div><div> Matt<br><br><div class="gmail_quote">On Mon, Dec 12, 2011 at 12:40 AM, behzad baghapour <span dir="ltr"><<a href="mailto:behzad.baghapour@gmail.com">behzad.baghapour@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear developers,<br><br>I need to add and examine a new strategy like "Line-Search" or "Trust-Region" in SNES context. How should follow the correct procedure?<br>
<br>Regards,<br>BehZad<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <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>
</div>