# PetscFVGetDualSpace
Returns the `PetscDualSpace` used to define the inner product on a `PetscFV` 
## Synopsis
```
#include "petscfv.h" 
PetscErrorCode PetscFVGetDualSpace(PetscFV fvm, PetscDualSpace *sp)
```
Not collective


## Input Parameter

- ***fvm -*** The `PetscFV` object



## Output Parameter

- ***sp -*** The PetscDualSpace object





## Developer Note
There is overlap between the methods of `PetscFE` and `PetscFV`, they should probably share a common parent class


## See Also
 `PetscDualSpace`, `PetscFV`, `PetscFVCreate()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/dt/fv/interface/fv.c.html#PetscFVGetDualSpace">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)  
