petsc-3.7.1 2016-05-15
Report Typos and Errors

SNESNGMRESSetSelectType

Sets the selection type for SNESNGMRES. This determines how the candidate solution and combined solution are used to create the next iterate.

Synopsis

#include "petscsnes.h" 
PetscErrorCode SNESNGMRESSetSelectType(SNES snes,SNESNGMRESSelectType stype)
Logically Collective on SNES Many br

Input Parameters

snes - the iterative context Many br
stype - selection type Many br

Options Database

-snes_ngmres_select_type<difference,none,linesearch> - Many br Many br

SNESNGMRESSelectTypes

SNES_NGMRES_SELECT_NONE - choose the combined solution all the time Many br
SNES_NGMRES_SELECT_DIFFERENCE - choose based upon the selection criteria Many br
SNES_NGMRES_SELECT_LINESEARCH - choose based upon line search combination Many br

Notes

The default line search used is the L2 line search and it requires two additional function evaluations. Many br

Keywords

SNES, SNESNGMRES, selection, type, set SNESLineSearch

Level:intermediate
Location:
src/snes/impls/ngmres/snesngmres.c
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages