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

PetscSectionSetClosurePermutation

Get the dof permutation for the closure of each cell in the section, meaning clPerm[newIndex] = oldIndex.

Synopsis

#include "petscsection.h"   
PetscErrorCode PetscSectionSetClosurePermutation(PetscSection section, PetscObject obj, IS perm)
Not Collective

Input Parameters

section - The PetscSection
obj - A PetscObject which serves as the key for this index
perm - Permutation of the cell dof closure

Note: This strategy only works when all cells have the same size dof closure, and no closures are retrieved for other points (like faces).

See Also

PetscSectionGetClosurePermutation(), PetscSectionGetClosureIndex(), DMPlexCreateClosureIndex(), PetscCopyMode

Level

intermediate

Location

src/vec/is/section/interface/section.c
Index of all PetscSection routines
Table of Contents for all manual pages
Index of all manual pages