petsc-3.12.5 2020-03-29
Report Typos and Errors

DMPlexRestoreClosureIndices

Restore the indices in a vector v for all points in the closure of the given point

Synopsis

#include "petscdmplex.h"   
PetscErrorCode DMPlexRestoreClosureIndices(DM dm, PetscSection section, PetscSection globalSection, PetscInt point, PetscInt *numIndices, PetscInt **indices,PetscInt *outOffsets)
Not collective

Input Parameters

dm - The DM
section - The section describing the layout in v, or NULL to use the default section
globalSection - The section describing the parallel layout in v, or NULL to use the default section
point - The mesh point
numIndices - The number of indices
indices - The indices
outOffsets - Field offset if not NULL

See Also

DMPlexGetClosureIndices(), DMPlexVecGetClosure(), DMPlexMatSetClosure()

Level

advanced

Location

src/dm/impls/plex/plex.c
Index of all DMPLEX routines
Table of Contents for all manual pages
Index of all manual pages