# DMPlexRestoreConeRecursive
Deallocates arrays created by DMPlexGetConeRecursive 
## Synopsis
```
#include "petscdmplex.h"   
PetscErrorCode DMPlexRestoreConeRecursive(DM dm, IS points, PetscInt *depth, IS *expandedPoints[], PetscSection *sections[])
```
Not collective


## Input Parameters

- ***dm -*** The DMPlex
- ***points -*** The IS of points, which must lie in the chart set with DMPlexSetChart()



## Output Parameters

- ***depth -*** (optional) Size of the output arrays, equal to DMPlex depth, returned by DMPlexGetDepth()
- ***expandedPoints -*** (optional) An array of recursively expanded cones
- ***sections -*** (optional) An array of sections which describe mappings from points to their cone points





## Notes
See DMPlexGetConeRecursive() for details.


## See Also
 `DMPlexCreate()`, `DMPlexGetCone()`, `DMPlexGetConeTuple()`, `DMPlexGetConeRecursive()`, `DMPlexGetConeRecursiveVertices()`, `DMPlexGetDepth()`

## Level
advanced

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


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/plex/plex.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)  
