#include "petscsnes.h" PetscErrorCode SNESLineSearchGetVIFunctions(SNESLineSearch linesearch, SNESLineSearchVIProjectFunc *projectfunc, SNESLineSearchVINormFunc *normfunc)
linesearch | - the line search context, obtain with SNESGetLineSearch() |
projectfunc | - function for projecting the function to the bounds | |
normfunc | - function for computing the norm of an active set |
Logically Collective on SNES