On Wed, Aug 3, 2016 at 4:39 PM, Xiangdong <[email protected]> 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

Reply via email to