PetscGridHashCreate#

Create a PetscGridHash for spatially locating points in a mesh.

Synopsis#

#include "petscdmplex.h"   
#include "petscfe.h"       
PetscErrorCode PetscGridHashCreate(MPI_Comm comm, PetscInt dim, const PetscScalar point[], PetscGridHash *box)

Collective

Input Parameters#

  • comm - the MPI communicator

  • dim - the spatial dimension

  • point - an initial point used to seed the bounding box, or NULL for a zero-initialized box

Output Parameter#

See Also#

DMPLEX, PetscGridHash, PetscGridHashEnlarge(), PetscGridHashDestroy()

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