# TaoDefaultSMonitor
Default routine for monitoring progress of the solver. Same as `TaoMonitorDefault()` except it prints fewer digits of the residual as the residual gets smaller. This is because the later digits are meaningless and are often different on different machines; by using this routine different machines will usually generate the same output. It can be turned on by using the -tao_smonitor option 
## Synopsis
```
#include "petsctao.h" 
PetscErrorCode TaoDefaultSMonitor(Tao tao, void *ctx)
```
Collective


## Input Parameters

- ***tao -*** the Tao context
- ***ctx -*** PetscViewer context of type ASCII



## Options Database Keys

- ***-tao_smonitor -*** turn on default short monitoring





## See Also
 `TaoMonitorDefault()`, `TaoSetMonitor()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/tao/interface/taosolver.c.html#TaoDefaultSMonitor">src/tao/interface/taosolver.c</A>


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


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