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

SNESKSPSetParametersEW

Sets parameters for Eisenstat-Walker convergence criteria for the linear solvers within an inexact Newton method.

Synopsis

#include "petscsnes.h"  
PetscErrorCode  SNESKSPSetParametersEW(SNES snes,PetscInt version,PetscReal rtol_0,PetscReal rtol_max,PetscReal gamma,PetscReal alpha,PetscReal alpha2,PetscReal threshold)
Logically Collective on SNES Many br

Input Parameters

snes - SNES context Many br
version - version 1, 2 (default is 2) or 3 Many br
rtol_0 - initial relative tolerance (0 <= rtol_0 < 1) Many br
rtol_max - maximum relative tolerance (0 <= rtol_max < 1) Many br
gamma - multiplicative factor for version 2 rtol computation Many br(0 <= gamma2 <= 1) Many br
alpha - power for version 2 rtol computation (1 < alpha <= 2) Many br
alpha2 - power for safeguard Many br
threshold - threshold for imposing safeguard (0 < threshold < 1) Many br

Note

Version 3 was contributed by Luis Chacon, June 2006. Many br

Use PETSC_DEFAULT to retain the default for any of the parameters. Many br

Many br

Reference

S. C. Eisenstat and H. F. Walker, "Choosing the forcing terms in an Many brinexact Newton method", Utah State University Math. Stat. Dept. Res. Many brReport 6/94/75, June, 1994, to appear in SIAM J. Sci. Comput. Many br

Keywords

SNES, KSP, Eisenstat, Walker, set, parameters

See Also

SNESKSPSetUseEW(), SNESKSPGetUseEW(), SNESKSPGetParametersEW()

Level:advanced
Location:
src/snes/interface/snes.c
Index of all SNES routines
Table of Contents for all manual pages
Index of all manual pages