#include "petscsnes.h" PetscErrorCode SNESQNSetScaleType(SNES snes, SNESQNScaleType stype)Logically Collective on SNES Many br
snes | - the iterative context Many br | |
stype | - scale type Many br |
SNES_QN_SCALE_NONE | - don't scale the problem Many br | |
SNES_QN_SCALE_SHANNO | - use shanno scaling Many br | |
SNES_QN_SCALE_LINESEARCH | - scale based upon line search lambda Many br | |
SNES_QN_SCALE_JACOBIAN | - scale by solving a linear system coming from the Jacobian you provided with SNESSetJacobian() computed at the first iteration Many brof QN and at ever restart. Many br |
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