#include "petscdmplex.h" PetscErrorCode DMPlexGetClosureIndices(DM dm, PetscSection section, PetscSection globalSection, PetscInt point, PetscInt *numIndices, PetscInt **indices, PetscInt *outOffsets)Not collective
dm | - The DM | |
section | - The section describing the local layout | |
globalSection | - The section describing the parallel layout | |
point | - The mesh point |
numIndices | - The number of indices | |
indices | - The indices | |
outOffsets | - Field offset if not NULL |
Note: Must call DMPlexRestoreClosureIndices() to free allocated memory