# KSPMonitorSAWsCreate
create an SAWs monitor context for `KSP` 
## Synopsis
```
#include "petscksp.h" 
PetscErrorCode KSPMonitorSAWsCreate(KSP ksp, void **ctx)
```
Collective


## Input Parameter

- ***ksp -*** `KSP` to monitor



## Output Parameter

- ***ctx -*** context for monitor





## See Also
 [](chapter_ksp), `KSP`, `KSPMonitorSet()`, `KSPMonitorSAWs()`, `KSPMonitorSAWsDestroy()`

## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/ksp/interface/saws/kspsaws.c.html#KSPMonitorSAWsCreate">src/ksp/ksp/interface/saws/kspsaws.c</A>


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


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