PetscHeapStash#

Set aside an item in a PetscHeap for later insertion via PetscHeapUnstash().

Synopsis#

Not Collective

Input Parameters#

  • h - the PetscHeap

  • id - the item identifier

  • val - the value used for heap ordering

Note#

Stashed items are held in the trailing portion of the heap’s storage and do not participate in heap ordering until PetscHeapUnstash() reinserts them.

See Also#

PetscHeap, PetscHeapCreate(), PetscHeapAdd(), 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