# PetscViewerAMSGetAMSComm

Gets the AMS communicator associated with the PetscViewer.

### Synopsis

    int PetscViewerAMSGetAMSComm(PetscViewer v,AMS_Comm *ams_comm)

Collective on MPI_Comm

### Input Parameters

lab -the PetscViewer

### Output Parameter

ams_comm -the AMS communicator

### Fortran Note

This routine is not supported in Fortran.

### See Also

PetscViewerDestroy(), PetscViewerAMSOpen(), PetscViewer_AMS_, PetscViewer_AMS_WORLD, PetscViewer_AMS_SELF

Level:developer
Location: src/sys/src/viewer/impls/ams/ams.c
Index of all Viewer routines
Table of Contents for all manual pages
Index of all manual pages