# 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
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/dt/dualspace/interface/dualspace.c.html#PetscDualSpaceGetSymmetries">src/dm/dt/dualspace/interface/dualspace.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/dt/dualspace/impls/lagrange/dspacelagrange.c.html#PetscDualSpaceGetSymmetries_Lagrange">PetscDualSpaceGetSymmetries_Lagrange in src/dm/dt/dualspace/impls/lagrange/dspacelagrange.c</A><BR>


---
[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](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
