# DMPlexReferenceTreeGetChildSymmetry
Given a reference tree, transform a childid and orientation from one parent frame to another 
## Synopsis
```
#include "petscdmplex.h"   
PetscErrorCode DMPlexReferenceTreeGetChildSymmetry(DM dm, PetscInt parent, PetscInt parentOrientA, PetscInt childOrientA, PetscInt childA, PetscInt parentOrientB, PetscInt *childOrientB, PetscInt *childB)
```

## Input Parameters

- ***dm -*** the reference tree `DMPLEX` object
- ***parent -*** the parent point
- ***parentOrientA -*** the reference orientation for describing the parent
- ***childOrientA -*** the reference orientation for describing the child
- ***childA -*** the reference childID for describing the child
- ***parentOrientB -*** the new orientation for describing the parent



## Output Parameters

- ***childOrientB -*** if not NULL, set to the new oreintation for describing the child
- ***childB -*** if not NULL, the new childID for describing the child





## See Also
 [](chapter_unstructured), `DM`, `DMPLEX`, `DMPlexGetReferenceTree()`, `DMPlexSetReferenceTree()`, `DMPlexSetTree()`

## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/plex/plextree.c.html#DMPlexReferenceTreeGetChildSymmetry">src/dm/impls/plex/plextree.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/plex/plextree.c.html#DMPlexReferenceTreeGetChildSymmetry_Default">DMPlexReferenceTreeGetChildSymmetry_Default in src/dm/impls/plex/plextree.c</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/plex/plextree.c)


[Index of all DMPlex routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
