PetscHMapTHas#

Query for a key in the hash table

Synopsis#

#include <petsc/private/hashmap.h>
PetscErrorCode PetscHMapTHas(PetscHMapT ht,KeyType 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#

PetscHMapTGet(), PetscHMapTSet(), PetscHMapTFind()

Level#

developer

Location#

include/petsc/private/hashmap.h


Edit on GitLab

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