petsc-3.7.1 2016-05-15
SNESLineSearchCreate
Creates the line search context.
Synopsis
#include "petscsnes.h"
PetscErrorCode SNESLineSearchCreate(MPI_Comm comm, SNESLineSearch *outlinesearch)
Logically Collective on Comm Many br
Input Parameters
comm -MPI communicator for the line search (typically from the associated SNES context). Many br
Output Parameters
outlinesearch -the new linesearch context Many br
Many br
Notes
The preferred calling sequence for users is to use SNESGetLineSearch() to acquire the SNESLineSearch instance Many bralready associated with the SNES. This function is for developer use. Many br
Keywords
LineSearch, create, context
See Also
LineSearchDestroy(), SNESGetLineSearch()
Level:developer
Location:src/snes/linesearch/interface/linesearch.c
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages