# DMFieldGetDM
Returns the `DM` for the manifold over which the field is defined. 
## Synopsis
```
#include "petscdmfield.h" 
#include "petscdmfield.h" 
PetscErrorCode DMFieldGetDM(DMField field, DM *dm)
```
Not collective


## Input Parameter

- ***field -*** The `DMField` object



## Output Parameter

- ***dm -*** The `DM` object





## See Also
 `DMField`, `DM`, `DMFieldEvaluate()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/field/interface/dmfield.c.html#DMFieldGetDM">src/dm/field/interface/dmfield.c</A>

## Examples
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/field/tutorials/ex1.c.html">src/dm/field/tutorials/ex1.c.html</A><BR>


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