# PetscFESetDualSpace
Sets the `PetscDualSpace` used to define the inner product 
## Synopsis
```
#include "petscfe.h" 
PetscErrorCode PetscFESetDualSpace(PetscFE fem, PetscDualSpace sp)
```
Not collective


## Input Parameters

- ***fem -*** The `PetscFE` object
- ***sp -*** The `PetscDualSpace` object





## See Also
 `PetscFE`, `PetscSpace`, `PetscDualSpace`, `PetscFECreate()`, `PetscFESetBasisSpace()`

## Level
intermediate

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


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


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