# TaoLineSearchView
Prints information about the TaoLineSearch 
## Synopsis
```
#include "petsctaolinesearch.h" 
PetscErrorCode TaoLineSearchView(TaoLineSearch ls, PetscViewer viewer)
```
Collective


## InputParameters

- ***ls -*** the Tao context
- ***viewer -*** visualization context



## Options Database Key

- ***-tao_ls_view -*** Calls TaoLineSearchView() at the end of each line search



## Notes
The available visualization contexts include

- ***PETSC_VIEWER_STDOUT_SELF -*** standard output (default)
- ***PETSC_VIEWER_STDOUT_WORLD -*** synchronized standard
output where only the first processor opens
the file.  All other processors send their
data to the first processor to print.





## See Also
 `PetscViewerASCIIOpen()`

## Level
beginner

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/tao/linesearch/interface/taolinesearch.c.html#TaoLineSearchView">src/tao/linesearch/interface/taolinesearch.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/tao/linesearch/impls/armijo/armijo.c.html#TaoLineSearchView_Armijo">TaoLineSearchView_Armijo in src/tao/linesearch/impls/armijo/armijo.c</A><BR>
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/tao/linesearch/impls/gpcglinesearch/gpcglinesearch.c.html#TaoLineSearchView_GPCG">TaoLineSearchView_GPCG in src/tao/linesearch/impls/gpcglinesearch/gpcglinesearch.c</A><BR>
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/tao/linesearch/impls/owarmijo/owarmijo.c.html#TaoLineSearchView_OWArmijo">TaoLineSearchView_OWArmijo in src/tao/linesearch/impls/owarmijo/owarmijo.c</A><BR>
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/tao/linesearch/impls/unit/unit.c.html#TaoLineSearchView_Unit">TaoLineSearchView_Unit in src/tao/linesearch/impls/unit/unit.c</A><BR>


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


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