:orphan:
# DMField
PETSc object for defining a field on a mesh topology
## Synopsis
```
typedef struct _p_DMField *DMField;
```
## Level
intermediate
## Location
include/petscdmtypes.h
## Examples
src/dm/field/tutorials/ex1.c
## Implementations
_p_DMField in include/petsc/private/dmfieldimpl.h
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/include/petscdmtypes.h)
[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)