PetscObjectRestoreNewTag

Restores a new tag from a PETSc object. All processors that share the object MUST call this routine EXACTLY the same number of times.

Synopsis

int PetscObjectRestoreNewTag(PetscObject obj,int *tag)
Collective on PetscObject

Input Parameter

obj -the PETSc object; this must be cast with a (PetscObject), for example, PetscObjectRestoreNewTag((PetscObject) mat,&tag);

Output Parameter

tag -the new tag

Keywords

object, restore, new, tag

See Also

PetscObjectGetNewTag()

Level:developer
Location:src/sys/src/objects/tagm.c
System Index
Table of Contents