PetscGridHashDestroy — PETSc 3.25.4 documentation

Skip to main content
`Ctrl`+`K`

# PetscGridHashDestroy

Destroy a `PetscGridHash` and free its resources.

## Synopsis

    #include "petscdmplex.h"
    #include "petscfe.h"
    PetscErrorCode PetscGridHashDestroy(PetscGridHash *box)

Collective

## Input Parameter

- box - the `PetscGridHash` to destroy; set to `NULL` on return

## See Also

`DMPLEX`, `PetscGridHash`, `PetscGridHashCreate()`, `PetscGridHashEnlarge()`

## Level

developer

## Location

src/dm/impls/plex/plexgeometry.c

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