# DMCompositeGetEntriesArray
Gets the DM for each entry in a `DMCOMPOSITE` 
## Synopsis
```
#include "petscdmcomposite.h"  
PetscErrorCode DMCompositeGetEntriesArray(DM dm, DM dms[])
```
Not Collective


## Input Parameter

- ***dm -*** the `DMCOMPOSITE` object



## Output Parameter

- ***dms -*** array of sufficient length (see `DMCompositeGetNumberDM()`) to hold the individual `DM`





## See Also
 `DMCOMPOSITE`, `DM`, `DMDestroy()`, `DMCompositeAddDM()`, `DMCreateGlobalVector()`, `DMCompositeGetEntries()`
`DMCompositeGather()`, `DMCompositeCreate()`, `DMCompositeGetISLocalToGlobalMappings()`, `DMCompositeGetAccess()`,
`DMCompositeRestoreLocalVectors()`, `DMCompositeGetLocalVectors()`, `DMCompositeScatter()`,
`DMCompositeGetLocalVectors()`, `DMCompositeRestoreLocalVectors()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/composite/pack.c.html#DMCompositeGetEntriesArray">src/dm/impls/composite/pack.c</A>


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