# PetscFVSetDualSpace
Sets the `PetscDualSpace` used to define the inner product 
## Synopsis
```
#include "petscfv.h" 
PetscErrorCode PetscFVSetDualSpace(PetscFV fvm, PetscDualSpace sp)
```
Not collective


## Input Parameters

- ***fvm -*** The `PetscFV` object
- ***sp  -*** The `PetscDualSpace` object





## Note
A simple dual space is provided automatically, and the user typically will not need to override it.


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

## Level
intermediate

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