# DMAdaptorSetUp
After the solver is specified, we create structures for controlling adaptivity 
## Synopsis
```
#include "petscdmadaptor.h" 
PetscErrorCode DMAdaptorSetUp(DMAdaptor adaptor)
```
Collective on adaptor


## Input Parameters

- ***adaptor -*** The `DMAdaptor` object





## See Also
 `DMAdaptorCreate()`, `DMAdaptorAdapt()`

## Level
beginner

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/snes/utils/dmadapt.c.html#DMAdaptorSetUp">src/snes/utils/dmadapt.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/snes/utils/dmadapt.c)


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