:orphan:
# DMPlexComputeGeometryFVM
Computes the cell and face geometry for a finite volume method
## Synopsis
```
#include "petscdmplex.h"
#include "petscfe.h"
PetscErrorCode DMPlexComputeGeometryFVM(DM dm, Vec *cellgeom, Vec *facegeom)
```
## Input Parameter
- ***dm -*** The `DMPLEX`
## Output Parameters
- ***cellgeom -*** A `Vec` of `PetscFVCellGeom` data
- ***facegeom -*** A `Vec` of `PetscFVFaceGeom` data
## See Also
`DMPLEX`, `PetscFVFaceGeom`, `PetscFVCellGeom`
## Level
developer
## Location
src/dm/impls/plex/plexgeometry.c
## Examples
src/dm/tutorials/ex21.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/plex/plexgeometry.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)