:orphan: # DMCreateSectionSuperDM Returns an arrays of `IS` 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 `DM`s ## 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 `DMPLEX` and `DMFOREST` ## See Also `DMCreateSuperDM()`, `DMGetLocalSection()`, `DMPlexSetMigrationSF()`, `DMView()` ## Level intermediate ## Location src/dm/interface/dmi.c --- [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](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)