[petsc-users] How to add a new strategy for SNES?

Matthew Knepley knepley at gmail.com
Mon Dec 12 10:37:48 CST 2011


On Mon, Dec 12, 2011 at 10:29 AM, behzad baghapour <
behzad.baghapour at gmail.com> wrote:

> OK. Then How I can access to Jacobian matrix in SNESLineSearchSet() in
> order to implement some steps in my procedure?
>

See the default method:

http://www.mcs.anl.gov/petsc/petsc-current/src/snes/impls/ls/ls.c.html#SNESLineSearchCubic

   Matt

-- 
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/20111212/ada106dc/attachment.htm>


More information about the petsc-users mailing list