# PetscDualSpaceRefinedSetCellSpaces
Set the dual spaces for the closures of each of the cells in the multicell `DM` of a `PetscDualSpace` 
## Synopsis
```
#include "petscfe.h" 
PetscErrorCode PetscDualSpaceRefinedSetCellSpaces(PetscDualSpace sp, const PetscDualSpace cellSpaces[])
```
Collective on sp


## Input Parameters

- ***sp -*** a `PetscDualSpace`
- ***cellSpaces -*** one `PetscDualSpace` for each of the cells.  The reference count of each cell space will be incremented,
so the user is still responsible for these spaces afterwards





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

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/dt/dualspace/impls/refined/dualspacerefined.c.html#PetscDualSpaceRefinedSetCellSpaces">src/dm/dt/dualspace/impls/refined/dualspacerefined.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/dt/dualspace/impls/refined/dualspacerefined.c.html#PetscDualSpaceRefinedSetCellSpaces_Refined">PetscDualSpaceRefinedSetCellSpaces_Refined in src/dm/dt/dualspace/impls/refined/dualspacerefined.c</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/dt/dualspace/impls/refined/dualspacerefined.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)  
