PETSc version 3.17.4
Fix/Edit manual page

# PetscViewerSetUp

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

### Synopsis

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

Collective on PetscViewer

### Input Parameters

| viewer | - the PetscViewer context

### Notes

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

### See Also

PetscViewerCreate(), PetscViewerDestroy()

### Level

advanced

### Location

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

### Implementations

PetscViewerSetUp_ExodusII in src/dm/impls/plex/plexexodusii.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