Skip to main content
Ctrl+K
PETSc 3.22.5 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
  • PetscViewerSetUp

PetscViewerSetUp#

Sets up the internal viewer data structures for the later use.

Synopsis#

#include "petscviewer.h" 
PetscErrorCode PetscViewerSetUp(PetscViewer viewer)

Collective

Input Parameter#

  • viewer - the PetscViewer context

Note#

For basic use of the PetscViewer classes the user need not explicitly call PetscViewerSetUp(), since these actions will happen automatically.

See Also#

Viewers: Looking at PETSc Objects, PetscViewer, PetscViewerCreate(), PetscViewerDestroy()

Level#

advanced

Location#

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

Implementations#

PetscViewerSetUp_ExodusII() in src/dm/impls/plex/exodusii/plexexodusii2.c
PetscViewerSetUp_Binary() in src/sys/classes/viewer/impls/binary/binv.c
PetscViewerSetUp_HDF5() in src/sys/classes/viewer/impls/hdf5/hdf5v.c


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

On this page
  • Synopsis
  • Input Parameter
  • Note
  • See Also
  • Level
  • Location
  • Implementations
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-03-28T16:05:55-0500 (v3.22.5).