petsc-3.4.2 2013-07-02

# SNESLineSearchCreate

Creates the line search context.

### Synopsis

    #include "petscsnes.h"
    PetscErrorCode SNESLineSearchCreate(MPI_Comm comm, SNESLineSearch *outlinesearch)

Logically Collective on Comm

### Input Parameters

comm -MPI communicator for the line search (typically from the associated SNES context).

### Output Parameters

outlinesearch -the new linesearch context

### Keywords

LineSearch, create, context

### See Also

LineSearchDestroy()

Level:beginner
Location: src/snes/linesearch/interface/linesearch.c
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages