# PetscViewersCreate
Creates a container to hold a set of `PetscViewer`s. The container is essentially a sparse, growable in length array of `PetscViewer`s 
## Synopsis
```
PetscErrorCode PetscViewersCreate(MPI_Comm comm, PetscViewers *v)
```
Collective


## Input Parameter

- ***comm -*** the MPI communicator



## Output Parameter

- ***v -*** the collection of `PetscViewer`s





## See Also
 `PetscViewer`, `PetscViewerCreate()`, `PetscViewersDestroy()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/classes/viewer/interface/viewers.c.html#PetscViewersCreate">src/sys/classes/viewer/interface/viewers.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/classes/viewer/interface/viewers.c)


[Index of all Viewer routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
