Get the inverse dof permutation for the closure of each cell in the section, meaning clPerm[oldIndex] = newIndex.
PetscErrorCode PetscSectionGetClosureInversePermutation(PetscSection section, PetscObject obj, PetscInt depth, PetscInt clSize, IS *perm)
|section ||- The PetscSection
|obj ||- A PetscObject which serves as the key for this index (usually a DM)
|depth ||- Depth stratum on which to obtain closure permutation
|clSize ||- Closure size to be permuted (e.g., may vary with element topology and degree)
|perm ||- The dof closure permutation
The user must destroy the IS that is returned.
PetscSectionSetClosurePermutation(), PetscSectionGetClosureIndex(), PetscSectionSetClosureIndex(), DMPlexCreateClosureIndex()
Index of all PetscSection routines
Table of Contents for all manual pages
Index of all manual pages