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

SNESQNSetScaleType

Sets the scaling type for the inner inverse Jacobian in SNESQN.

Synopsis

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

Input Parameters

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

Options Database

-snes_qn_scale_type <shanno,none,linesearch,jacobian> - Many br Many br

SNESQNScaleTypes

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

Keywords

scaling type

See Also

SNES, SNESQN, SNESLineSearch, SNESQNScaleType, SNESetJacobian()

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