PetscViewerPushFormat#

Sets the format for a PetscViewer.

Synopsis#

#include "petscsys.h" 
PetscErrorCode PetscViewerPushFormat(PetscViewer viewer, PetscViewerFormat format)

Logically Collective

Input Parameters#

Note#

See PetscViewerFormat for available values

See Also#

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

Level#

intermediate

Location#

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

Examples#

src/vec/is/sf/tutorials/ex1.c
src/ts/tutorials/ex9.c
src/vec/vec/tutorials/ex3.c
src/ts/tutorials/ex53.c
src/dm/tutorials/ex7.c
src/dm/tutorials/ex22.c
src/snes/tutorials/ex17.c
src/snes/tutorials/ex62.c
src/dm/impls/plex/tutorials/ex5.c
src/snes/tutorials/ex56.c


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