:orphan: # PetscViewerPopFormat Resets the format for a `PetscViewer` to the value it had before the previous call to `PetscViewerPushFormat()` ## Synopsis ``` #include "petscsys.h" PetscErrorCode PetscViewerPopFormat(PetscViewer viewer) ``` Logically Collective ## Input Parameter - ***viewer -*** the `PetscViewer` ## See Also [](sec_viewers), `PetscViewer`, `PetscViewerFormat`, `PetscViewerASCIIOpen()`, `PetscViewerBinaryOpen()`, `MatView()`, `VecView()`, `PetscViewerSetFormat()`, `PetscViewerPushFormat()` ## Level intermediate ## Location src/sys/classes/viewer/interface/viewa.c ## Examples src/dm/impls/plex/tutorials/ex5.c
src/dm/tutorials/ex22.c
src/dm/tutorials/ex7.c
src/ksp/ksp/tutorials/ex54.c
src/ksp/ksp/tutorials/ex55.c
src/ksp/ksp/tutorials/ex56.c
src/snes/tutorials/ex17.c
src/snes/tutorials/ex56.c
src/snes/tutorials/ex62.c
src/sys/classes/viewer/tutorials/ex2.c
src/ts/tutorials/ex53.c
--- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/classes/viewer/interface/viewa.c) [Index of all Viewer routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)