# PetscFVFaceGeom
Data structure (C struct) for storing information about face geometry for a finite volume method. 
## Synopsis
```
typedef struct {
  PetscReal   normal[3];   /* Area-scaled normals */
  PetscReal   centroid[3]; /* Location of centroid (quadrature point) */
  PetscScalar grad[2][3];  /* Face contribution to gradient in left and right cell */
} PetscFVFaceGeom;
```


Note: The components are
```none
PetscReal   normal[3]   - Area-scaled normals
```
```none
PetscReal   centroid[3] - Location of centroid (quadrature point)
```
```none
PetscScalar grad[2][3]  - Face contribution to gradient in left and right cell
```


## See Also
 `DMPlexComputeGeometryFVM()`

## Level
beginner

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/include/petscfvtypes.h.html#PetscFVFaceGeom">include/petscfvtypes.h</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/include/petscfvtypes.h)


[Index of all FV routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
