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

SNESQNSetRestartType

Sets the restart type for SNESQN.

Synopsis

#include "petscsnes.h" 
PetscErrorCode SNESQNSetRestartType(SNES snes, SNESQNRestartType rtype)
Logically Collective on SNES Many br

Input Parameters

snes - the iterative context Many br
rtype - restart type Many br

Options Database

-snes_qn_restart_type <powell,periodic,none> - set the restart type Many br
-snes_qn_m <m> - sets the number of stored updates and the restart period for periodic Many br

Many br

SNESQNRestartTypes

SNES_QN_RESTART_NONE - never restart Many br
SNES_QN_RESTART_POWELL - restart based upon descent criteria Many br
SNES_QN_RESTART_PERIODIC - restart after a fixed number of iterations Many br

Keywords

SNES, SNESQN, restart, type, set SNESLineSearch, SNESQNRestartType

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