:orphan:
# PetscDualSpaceGetSymmetries
Returns a description of the symmetries of this basis
## Synopsis
```
#include "petscfe.h"
PetscErrorCode PetscDualSpaceGetSymmetries(PetscDualSpace sp, const PetscInt ****perms, const PetscScalar ****flips)
```
Not Collective
## Input Parameter
- ***sp -*** the `PetscDualSpace` object
## Output Parameters
- ***perms -*** Permutations of the interior degrees of freedom, parameterized by the point orientation
- ***flips -*** Sign reversal of the interior degrees of freedom, parameterized by the point orientation
## Note
The permutation and flip arrays are organized in the following way
```none
perms[p][ornt][dof # on point] = new local dof #
flips[p][ornt][dof # on point] = reversal or not
```
## See Also
`PetscDualSpace`
## Level
developer
## Location
src/dm/dt/dualspace/interface/dualspace.c
## Implementations
PetscDualSpaceGetSymmetries_Lagrange in src/dm/dt/dualspace/impls/lagrange/dspacelagrange.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/dt/dualspace/interface/dualspace.c)
[Index of all DUALSPACE routines](index.md)
[Table of Contents for all manual pages](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)