#include "petscvec.h" PetscErrorCode PetscSectionGetClosureInversePermutation(PetscSection section, PetscObject obj, IS *perm)
section | - The PetscSection | |
obj | - A PetscObject which serves as the key for this index |
size | - The dof closure size | |
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.