:orphan: # SNESKSPGetUseEW Gets if `SNES` is using Eisenstat-Walker method for computing relative tolerance for linear solvers within an inexact Newton method. ## Synopsis ``` #include "petscsnes.h" PetscErrorCode SNESKSPGetUseEW(SNES snes, PetscBool *flag) ``` Not Collective ## Input Parameter - ***snes -*** `SNES` context ## Output Parameter - ***flag -*** `PETSC_TRUE` or `PETSC_FALSE` ## See Also [](ch_snes), `SNESKSPSetUseEW()`, `SNESKSPGetParametersEW()`, `SNESKSPSetParametersEW()` ## Level advanced ## Location src/snes/interface/snes.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/snes/interface/snes.c) [Index of all SNES routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)