# PetscViewerSetUp

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

### Synopsis

    #include "petsc.h"
    PetscErrorCode PETSC_DLLEXPORT 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.

### Keywords

PetscViewer, setup

### See Also

PetscViewerCreate(), PetscViewerDestroy()

Level:advanced
Location:src/sys/src/viewer/interface/view.c
Index of all Viewer routines
Table of Contents for all manual pages
Index of all manual pages