SNESGetLineSearch() then things like SNESLineSearchSetTolerances() SNESLineSearchSetLambda(), SNESLineSearchSetOrder()
Barry > On Jan 8, 2016, at 2:28 PM, Michael Povolotskyi <[email protected]> wrote: > > Dear Petsc developers and users, > I solve nonlinear systems with Newton Broyden method with Petsc. > I use line search algorithm of type SNESLINESEARCHBT. > Usually it works, but sometimes diverges. I want to change its parameters > that are listed in > http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/SNES/SNESLINESEARCHBT.html#SNESLINESEARCHBT > > Is there any way to set them in the code rather then from the command line? > Thank you, > Michael. > > -- > Michael Povolotskyi, PhD > Research Assistant Professor > Network for Computational Nanotechnology > Hall for Discover and Learning Research, Room 441 > West Lafayette, IN 47907 > Phone (765) 4949396 >
