petsc-3.10.5 2019-03-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