PetscHeapPop#
Remove and return the minimum item from a PetscHeap.
Synopsis#
PetscErrorCode PetscHeapPop(PetscHeap h, PetscInt *id, PetscInt *val)
Not Collective
Input Parameter#
h - the
PetscHeap
Output Parameters#
id - identifier of the popped item, or
-1if the heap is emptyval - value of the popped item, or
PETSC_INT_MINif the heap is empty
See Also#
PetscHeap, PetscHeapCreate(), PetscHeapAdd(), PetscHeapPeek(), PetscHeapStash(), PetscHeapUnstash(), PetscHeapDestroy()
Level#
developer
Location#
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages