PetscHSetIGetSize#

Get the number of entries in a hash set

Synopsis#

#include <petsc/private/hashseti.h>
PetscErrorCode PetscHSetIGetSize(PetscHSetI ht,PetscInt *n)

Input Parameter#

  • ht - The hash set

Output Parameter#

  • n - The number of entries

See Also#

PetscHSetIResize()

Level#

developer

Location#

include/petsc/private/hashset.txt.h

Examples#

src/dm/impls/plex/tests/ex104.c
src/sys/tests/ex41.c
src/sys/tests/ex42.c


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