petsc-3.7.1 2016-05-15
PetscObjectGetNewTag
Gets a unique new tag from a PETSc object. All processors that share the object 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"
PetscErrorCode PetscObjectGetNewTag(PetscObject obj,PetscMPIInt *tag)
Collective on PetscObject Many br
Input Parameter
obj -the PETSc object; this must be cast with a (PetscObject), for example, Many brPetscObjectGetNewTag((PetscObject)mat,&tag); Many br
Output Parameter
tag -the new tag Many br
Many br
See Also
PetscCommGetNewTag()
Level:developer
Location:src/sys/objects/tagm.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages