PetscHeapPop#

Remove and return the minimum item from a PetscHeap.

Synopsis#

Not Collective

Input Parameter#

Output Parameters#

  • id - identifier of the popped item, or -1 if the heap is empty

  • val - value of the popped item, or PETSC_INT_MIN if the heap is empty

See Also#

PetscHeap, PetscHeapCreate(), PetscHeapAdd(), PetscHeapPeek(), PetscHeapStash(), PetscHeapUnstash(), PetscHeapDestroy()

Level#

developer

Location#

src/mat/utils/pheap.c


Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages