PetscHMapIHas#

Query for a key in the hash table

Synopsis#

#include <petsc/private/hashmapi.h>
PetscErrorCode PetscHMapIHas(PetscHMapI ht, PetscInt 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#

PetscHMapIGet(), PetscHMapIGetWithDefault(), PetscHMapISet(), PetscHMapISetWithMode(), PetscHMapIFind()

Level#

developer

Location#

include/petsc/private/generated_khash.h


Edit on GitLab

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