Skip to main content
Ctrl+K
PETSc 3.23.2 documentation - Home
  • Overview
  • Install
  • Tutorials
  • User-Guide
  • C/Fortran API
  • petsc4py API
  • FAQ
  • Community
  • Developers
  • Misc.
  • GitLab
  • Overview
  • Install
  • Tutorials
  • User-Guide
  • C/Fortran API
  • petsc4py API
  • FAQ
  • Community
  • Developers
  • Misc.
  • GitLab
  • PetscViewerPopFormat

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#

Viewers: Looking at PETSc Objects, PetscViewer, PetscViewerFormat, PetscViewerASCIIOpen(), PetscViewerBinaryOpen(), MatView(), VecView(), PetscViewerSetFormat(), PetscViewerPushFormat()

Level#

intermediate

Location#

src/sys/classes/viewer/interface/viewa.c

Examples#

src/snes/tutorials/ex56.c
src/snes/tutorials/ex62.c
src/snes/tutorials/ex17.c
src/ksp/ksp/tutorials/ex54.c
src/snes/tutorials/ex34.c
src/ts/tutorials/ex9.c
src/ksp/ksp/tutorials/ex76.c
src/ts/tutorials/ex53.c
src/ksp/ksp/tutorials/ex56.c
src/ksp/ksp/tutorials/ex55.c


Index of all Viewer routines
Table of Contents for all manual pages
Index of all manual pages

On this page
  • Synopsis
  • Input Parameter
  • See Also
  • Level
  • Location
  • Examples
Edit on GitLab
Show Source

© Copyright 1991-2025, UChicago Argonne, LLC and the PETSc Development Team.

Created using Sphinx 7.3.7.

Built with the PyData Sphinx Theme 0.15.1.

Last updated on 2025-05-20T11:59:30-0500 (v3.23.2-35-g165c2d34d1cb).