#include "petscsnes.h" PetscErrorCode SNESKSPSetUseEW(SNES snes,PetscBool flag)Logically Collective on SNES
snes | - SNES context | |
flag | - PETSC_TRUE or PETSC_FALSE |
-snes_ksp_ew | - use Eisenstat-Walker method for determining linear system convergence | |
-snes_ksp_ew_version ver | - version of Eisenstat-Walker method | |
-snes_ksp_ew_rtol0 <rtol0> | - Sets rtol0 | |
-snes_ksp_ew_rtolmax <rtolmax> | - Sets rtolmax | |
-snes_ksp_ew_gamma <gamma> | - Sets gamma | |
-snes_ksp_ew_alpha <alpha> | - Sets alpha | |
-snes_ksp_ew_alpha2 <alpha2> | - Sets alpha2 | |
-snes_ksp_ew_threshold <threshold> | - Sets threshold |