#include "petscsnes.h" PetscErrorCode SNESQNSetRestartType(SNES snes, SNESQNRestartType rtype)Logically Collective on SNES
snes | - the iterative context | |
rtype | - restart type |
-snes_qn_restart_type <powell,periodic,none> | - set the restart type | |
-snes_qn_m <m> | - sets the number of stored updates and the restart period for periodic |
SNES_QN_RESTART_NONE | - never restart | |
SNES_QN_RESTART_POWELL | - restart based upon descent criteria | |
SNES_QN_RESTART_PERIODIC | - restart after a fixed number of iterations |