# PetscViewer
Abstract PETSc object that helps view (in ASCII, binary, graphically etc) PETSc objects 
## Synopsis
```
typedef struct _p_PetscViewer *PetscViewer;
```



## See Also
 `PetscViewerCreate()`, `PetscViewerSetType()`, `PetscViewerType`

## Level
beginner

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/include/petscviewertypes.h.html#PetscViewer">include/petscviewertypes.h</A>

## Examples
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/tutorials/ex15.c.html">src/dm/tutorials/ex15.c.html</A><BR>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/include/petsc/private/viewerimpl.h.html#_p_PetscViewer">_p_PetscViewer in include/petsc/private/viewerimpl.h</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/include/petscviewertypes.h)


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