PetscHMapObjGet — PETSc 3.25.1 documentation

Skip to main content
`Ctrl`+`K`

# PetscHMapObjGet

Get the value for a key in the hash table

## Synopsis

    #include <petsc/private/hashmapobj.h>
    PetscErrorCode PetscHMapObjGet(PetscHMapObj ht, PetscInt64 key, PetscObject *val)

## Input Parameters

- ht - The hash table

- key - The key

## Output Parameter

- val - The value

## See Also

`PetscHMapObjSet()`, `PetscHMapObjSetWithMode()`, `PetscHMapObjIterGet()`, `PetscHMapObjGetWithDefault()`

## Level

developer

## Location

include/petsc/private/hashmap.txt.h

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