# SNESConvergedSkip
Convergence test for `SNES` that NEVER returns as converged, UNLESS the maximum number of iteration have been reached. 
## Synopsis
```
#include "petsc/private/snesimpl.h"   
PetscErrorCode SNESConvergedSkip(SNES snes, PetscInt it, PetscReal xnorm, PetscReal snorm, PetscReal fnorm, SNESConvergedReason *reason, void *dummy)
```
Logically Collective on snes


## Input Parameters

- ***snes -*** the `SNES` context
- ***it -*** the iteration (0 indicates before any Newton steps)
- ***xnorm -*** 2-norm of current iterate
- ***snorm -*** 2-norm of current step
- ***fnorm -*** 2-norm of function at current iterate
- ***dummy -*** unused context



## Output Parameter

- ***reason  -*** `SNES_CONVERGED_ITERATING`, `SNES_CONVERGED_ITS`, or `SNES_DIVERGED_FNORM_NAN`



## Options Database Key

- ***-snes_convergence_test skip -*** see `SNESSetFromOptions()`





## See Also
 `SNES`, `SNESSolve()`, `SNESConvergedDefault()`, `SNESSetConvergenceTest()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/snes/interface/snesut.c.html#SNESConvergedSkip">src/snes/interface/snesut.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/snes/interface/snesut.c)


[Index of all SNES routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
