# PetscViewerCreate

Creates a viewing context

### Synopsis

    #include "petsc.h"
    int PetscViewerCreate(MPI_Comm comm,PetscViewer *inviewer)

Collective on MPI_Comm

### Input Parameter

comm -MPI communicator

### Output Parameter

inviewer -location to put the PetscViewer context

### See Also

PetscViewerDestroy(), PetscViewerSetType()

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