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 object's communicator; do NOT use it with any other MPI communicator.
Synopsis
int PetscCommGetNewTag(MPI_Comm comm,int *tag)
Collective on comm
Input Parameter
comm -the PETSc communicator
Output Parameter
tag -the new tag
Keywords
comm, get, new, tag
See Also
PetscCommRestoreNewTag(),PetscObjectGetNewTag(),PetscObjectRestoreNewTag()
Level:developer
Location:src/sys/src/objects/tagm.c
System Index
Table of Contents