petsc-3.11.4 2019-09-28
PetscSectionGetClosurePermutation
Get the dof permutation for the closure of each cell in the section, meaning clPerm[newIndex] = oldIndex.
Synopsis
#include "petscvec.h"
PetscErrorCode PetscSectionGetClosurePermutation(PetscSection section, PetscObject obj, IS *perm)
Input Parameters
Output Parameter
perm -The dof closure permutation
Note: This strategy only works when all cells have the same size dof closure, and no closures are retrieved for
other points (like faces).
The user must destroy the IS that is returned.
See Also
PetscSectionSetClosurePermutation(), PetscSectionGetClosureInversePermutation(), PetscSectionGetClosureIndex(), PetscSectionSetClosureIndex(), DMPlexCreateClosureIndex()
Level
intermediate
Location
src/vec/is/utils/vsectionis.c
Index of all IS routines
Table of Contents for all manual pages
Index of all manual pages