# SNESMonitorSAWs
monitor solution process of `SNES` using SAWs 
## Synopsis
```
#include "petscsnes.h" 
PetscErrorCode SNESMonitorSAWs(SNES snes, PetscInt n, PetscReal rnorm, void *ctx)
```
Collective


## Input Parameters

- ***snes   -*** iterative context
- ***n     -*** iteration number
- ***rnorm -*** 2-norm (preconditioned) residual value (may be estimated).
- ***ctx -*** `PetscViewer` of type `PETSCVIEWERSAWS`





## See Also
 `PetscViewerSAWsOpen()`, `SNESMonitorSAWsDestroy()`, `SNESMonitorSAWsCreate()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/snes/interface/saws/snessaws.c.html#SNESMonitorSAWs">src/snes/interface/saws/snessaws.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/snes/interface/saws/snessaws.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)  
