petsc-3.11.4 2019-09-28
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

Keywords

hash table, map, query

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