DMPlexRestoreCompressedClosure#

Release the arrays returned by DMPlexGetCompressedClosure()

Synopsis#

#include "petscdmplex.h"   
PetscErrorCode DMPlexRestoreCompressedClosure(DM dm, PetscSection section, PetscInt point, PetscInt *numPoints, PetscInt **points, PetscSection *clSec, IS *clPoints, const PetscInt **clp)

Not Collective

Input Parameters#

  • dm - The DMPLEX

  • section - The PetscSection passed to DMPlexGetCompressedClosure()

  • point - The mesh point

  • numPoints - The number of closure points

  • points - The closure array

  • clSec - The cached closure section

  • clPoints - The cached closure IS

  • clp - The raw pointer into the closure index

See Also#

DMPlex: Unstructured Grids, DM, DMPLEX, PetscSection, DMPlexGetCompressedClosure(), DMPlexRestoreTransitiveClosure()

Level#

developer

Location#

src/dm/impls/plex/plex.c


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