PetscHMapObjHas#

Query for a key in the hash table

Synopsis#

#include <petsc/private/hashmapobj.h>
PetscErrorCode PetscHMapObjHas(PetscHMapObj ht, PetscInt64 key, PetscBool *has)

Input Parameters#

  • ht - The hash table

  • key - The key

Output Parameter#

  • has - Boolean indicating whether key is in the hash table

See Also#

PetscHMapObjGet(), PetscHMapObjGetWithDefault(), PetscHMapObjSet(), PetscHMapObjSetWithMode(), PetscHMapObjFind()

Level#

developer

Location#

include/petsc/private/hashmap.txt.h


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