:orphan:
# DMAdaptorGetSequenceLength
Gets the number of sequential adaptations used by an adapter 
## Synopsis
```
#include "petscdmadaptor.h" 
PetscErrorCode DMAdaptorGetSequenceLength(DMAdaptor adaptor, PetscInt *num)
```
Not Collective


## Input Parameter

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



## Output Parameter

- ***num -*** The number of adaptations





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

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/snes/utils/dmadapt.c.html#DMAdaptorGetSequenceLength">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](/manualpages/index.md)  
[Index of all manual pages](/manualpages/singleindex.md)  
