SNESLineSearchSetWorkVecs#

Sets work vectors for the line search.

Synopsis#

#include "petscsnes.h" 
PetscErrorCode SNESLineSearchSetWorkVecs(SNESLineSearch linesearch, PetscInt nwork)

Input Parameters#

  • linesearch - the SNESLineSearch context

  • nwork - the number of work vectors

See Also#

SNESLineSearch, SNESSetWorkVecs()

Level#

developer

Location#

src/snes/linesearch/interface/linesearch.c


Edit on GitLab

Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages