:orphan:
# DMFieldView
view a `DMField`
## Synopsis
```
#include "petscdmfield.h"
#include "petscdmfield.h"
PetscErrorCode DMFieldView(DMField field, PetscViewer viewer)
```
Collective
## Input Parameters
- ***field -*** `DMField`
- ***viewer -*** viewer to display field, for example `PETSC_VIEWER_STDOUT_WORLD`
## See Also
`DMField`, `DMFieldCreate()`
## Level
advanced
## Location
src/dm/field/interface/dmfield.c
## Implementations
DMFieldView_DA in src/dm/field/impls/da/dmfieldda.c
DMFieldView_DS in src/dm/field/impls/ds/dmfieldds.c
---
[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](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)