PetscHeapStash#
Set aside an item in a PetscHeap for later insertion via PetscHeapUnstash().
Synopsis#
PetscErrorCode PetscHeapStash(PetscHeap h, PetscInt id, PetscInt val)
Not Collective
Input Parameters#
h - the
PetscHeapid - 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#
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages