# DMCreateSectionSuperDM
Returns an arrays of ISes and DM+Section encapsulating a superproblem defined by the DM+Sections passed in. 
## Synopsis
```
#include "petscdm.h"     
PetscErrorCode DMCreateSectionSuperDM(DM dms[], PetscInt len, IS **is, DM *superdm)
```
Not collective


## Input Parameters

- ***dms -*** The DM objects
- ***len -*** The number of DMs



## Output Parameters

- ***is -*** The global indices for the subproblem, or NULL
- ***superdm -*** The DM for the superproblem, which must already have be cloned


Note: This handles all information in the DM class and the PetscSection. This is used as the basis for creating subDMs in specialized classes,
such as Plex and Forest.




## See Also
`DMCreateSuperDM()`, `DMGetLocalSection()`, `DMPlexSetMigrationSF()`, `DMView()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/interface/dmi.c.html#DMCreateSectionSuperDM">src/dm/interface/dmi.c</A>


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


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