: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
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/plex/plexgeometry.c.html#DMPlexComputeGeometryFVM">src/dm/impls/plex/plexgeometry.c</A>

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


---
[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)  
