# PetscFVGetType
Gets the PetscFV type name (as a string) from the object. 
## Synopsis
```
#include "petscfv.h" 
PetscErrorCode PetscFVGetType(PetscFV fvm, PetscFVType *name)
```
Not Collective


## Input Parameter

- ***fvm  -*** The PetscFV



## Output Parameter

- ***name -*** The PetscFV type name





## See Also
 `PetscFVSetType()`, `PetscFVCreate()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/dt/fv/interface/fv.c.html#PetscFVGetType">src/dm/dt/fv/interface/fv.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/dt/fv/interface/fv.c)


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