:orphan: # DMAdaptorSetSequenceLength Sets the number of sequential adaptations ## Synopsis ``` #include "petscdmadaptor.h" PetscErrorCode DMAdaptorSetSequenceLength(DMAdaptor adaptor, PetscInt num) ``` Not Collective ## Input Parameters - ***adaptor -*** The `DMAdaptor` object - ***num -*** The number of adaptations ## See Also `DMAdaptorGetSequenceLength()`, `DMAdaptorCreate()`, `DMAdaptorAdapt()` ## Level intermediate ## Location src/snes/utils/dmadapt.c --- [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)