# SNESLineSearchView
Prints useful information about the line search 
## Synopsis
```
#include "petscsnes.h" 
PetscErrorCode SNESLineSearchView(SNESLineSearch linesearch, PetscViewer viewer)
```

## Input Parameters

- ***linesearch -*** linesearch context


Logically Collective




## See Also
 `SNESLineSearch`, `PetscViewer`, `SNESLineSearchCreate()`

## Level
intermediate

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

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/snes/linesearch/impls/bt/linesearchbt.c.html#SNESLineSearchView_BT">SNESLineSearchView_BT in src/snes/linesearch/impls/bt/linesearchbt.c</A><BR>
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/snes/linesearch/impls/nleqerr/linesearchnleqerr.c.html#SNESLineSearchView_NLEQERR">SNESLineSearchView_NLEQERR in src/snes/linesearch/impls/nleqerr/linesearchnleqerr.c</A><BR>


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