# PetscDualSpaceEqual
Determine if two dual spaces are equivalent 
## Synopsis
```
#include "petscfe.h" 
PetscErrorCode PetscDualSpaceEqual(PetscDualSpace A, PetscDualSpace B, PetscBool *equal)
```

## Input Parameters

- ***A    -*** A `PetscDualSpace` object
- ***B    -*** Another `PetscDualSpace` object



## Output Parameter

- ***equal -*** `PETSC_TRUE` if the dual spaces are equivalent





## See Also
 `PetscDualSpace`, `PetscDualSpaceCreate()`

## Level
advanced

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


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


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