PetscCommDestroy#
Frees communicator obtained with PetscCommDuplicate().
Synopsis#
#include "petscsys.h"
PetscErrorCode PetscCommDestroy(MPI_Comm *comm)
Collective
Input Parameter#
comm - the communicator to free
Notes#
Sets comm to NULL
The communicator is reference counted so it is only truly removed from the system when its reference count drops to zero
See Also#
Level#
developer
Location#
Examples#
src/ksp/ksp/tutorials/ex73.c
src/dm/impls/plex/tests/ex69.c
src/ksp/ksp/tests/ex37.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages