:orphan: # DMPlexGetGradientDM Return gradient data layout ## Synopsis ``` #include "petscdmplex.h" PetscErrorCode DMPlexGetGradientDM(DM dm, PetscFV fv, DM *dmGrad) ``` Collective ## Input Parameters - ***dm -*** The `DM` - ***fv -*** The `PetscFV` ## Output Parameter - ***dmGrad -*** The layout for gradient values ## See Also [](ch_unstructured), `DM`, `DMPLEX`, `DMPlexGetGeometryFVM()` ## Level developer ## Location src/dm/impls/plex/plexfem.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/plex/plexfem.c) [Index of all DMPlex routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)