:orphan: # 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 src/dm/dt/fv/interface/fv.c --- [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](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)