PetscHMapIVGetCapacity#

Get the current size of the array in the hash table

Synopsis#

#include <petsc/private/hashmapiv.h>
PetscErrorCode PetscHMapIVGetCapacity(PetscHMapIV ht, PetscInt *n)

Input Parameter#

  • ht - The hash table

Output Parameter#

  • n - The capacity

See Also#

PetscHMapIVResize(), PetscHMapIVGetSize()

Level#

developer

Location#

include/petsc/private/hashmap.txt.h

Examples#

src/sys/tests/ex40.c


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