[petsc-users] turn off the snes linesearch
Matthew Knepley
knepley at gmail.com
Wed Aug 3 16:54:35 CDT 2016
On Wed, Aug 3, 2016 at 4:39 PM, Xiangdong <epscodes at gmail.com> wrote:
> Hello everyone,
>
> If I want to turn off the line search and always use the full newton step,
> does the option "-snes_linesearch_type basic" guarantee this? In my case, I
> found that even with that option, it still try to do function evaluation at
> a point different from the exact newton step. Any suggestions on this?
>
The code is very short:
https://bitbucket.org/petsc/petsc/src/bedc4528a1b7d05f6a15a361bf14aabd7c129542/src/snes/linesearch/impls/basic/linesearchbasic.c?at=master&fileviewer=file-view-default
I see nothing like that in there.
Matt
> Thanks.
>
> Best,
> Xiangdong
>
--
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/20160803/81cca61c/attachment.html>
More information about the petsc-users
mailing list