# DMDAGetReducedDMDA
Deprecated; use DMDACreateCompatibleDMDA() 
## Synopsis
```
#include "petscdmda.h"   
PetscErrorCode DMDAGetReducedDMDA(DM da, PetscInt nfields, DM *nda)
```


## Level
deprecated

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/da/dacorn.c.html#DMDAGetReducedDMDA">src/dm/impls/da/dacorn.c</A>


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


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