:orphan: # PetscSectionRestorePointSyms Restore the symmetries returned by `PetscSectionGetPointSyms()` ## Synopsis ``` #include "petscsection.h" PetscErrorCode PetscSectionRestorePointSyms(PetscSection section, PetscInt numPoints, const PetscInt *points, const PetscInt ***perms, const PetscScalar ***rots) ``` Not Collective ## Input Parameters - ***section -*** the section - ***numPoints -*** the number of points - ***points -*** an array of size 2 * `numPoints`, containing a list of (point, orientation) pairs. (An orientation is an arbitrary integer: its interpretation is up to sym. Orientations are used by `DM`: for their interpretation in that context, see `DMPlexGetConeOrientation()`). - ***perms -*** The permutations for the given orientations: set to `NULL` at conclusion - ***rots -*** The field rotations symmetries for the given orientations: set to `NULL` at conclusion ## See Also [PetscSection](sec_petscsection), `PetscSectionSym`, `PetscSectionGetPointSyms()`, `PetscSectionSymCreate()`, `PetscSectionSetSym()`, `PetscSectionGetSym()` ## Level developer ## Location src/vec/is/section/interface/section.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/vec/is/section/interface/section.c) [Index of all PetscSection routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)