petsc-3.14.6 2021-03-30
Report Typos and Errors

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
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages