PetscCommGetNewTag

Gets a unique new tag from a PETSc communicator. All processors that share the communicator MUST call this routine EXACTLY the same number of times. This tag should only be used with the current objects communicator; do NOT use it with any other MPI communicator.

Synopsis

#include "petscsys.h"   
int PetscCommGetNewTag(MPI_Comm comm,int *tag)
Collective on comm

Input Parameter

comm -the PETSc communicator

Output Parameter

tag -the new tag

See Also

PetscObjectGetNewTag()

Level:developer
Location:
src/sys/src/objects/tagm.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages