# DMPlexComputeGeometryFEM
Precompute cell geometry for the entire mesh 
## Synopsis
```
#include "petscdmplex.h"   
#include "petscfe.h"       
PetscErrorCode DMPlexComputeGeometryFEM(DM dm, Vec *cellgeom)
```
Collective on dm


## Input Parameter

- ***dm -*** The DMPlex



## Output Parameter

- ***cellgeom -*** A vector with the cell geometry data for each cell





## Level
beginner

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/plex/plexgeometry.c.html#DMPlexComputeGeometryFEM">src/dm/impls/plex/plexgeometry.c</A>


---
[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](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
