petsc-3.3-p7 2013-05-11

SNESLineSearchGetWork

Gets work vectors for the line search.

Synopsis

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

Input Parameter

linesearch - the SNESLineSearch context
nwork - the number of work vectors

Notes

This is typically called at the beginning of a SNESLineSearch or SNESLineSearchShell implementation.

Keywords

SNESLineSearch, work, vector

See Also

SNESDefaultGetWork()

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