#include "petscsnes.h" PetscErrorCode SNESLineSearchCreate(MPI_Comm comm, SNESLineSearch *outlinesearch)Logically Collective on Comm
comm | - MPI communicator for the line search (typically from the associated SNES context). |
outlinesearch | - the new linesearch context |