:orphan: # DMAdaptorDestroy Destroys a `DMAdaptor` object ## Synopsis ``` #include "petscdmadaptor.h" PetscErrorCode DMAdaptorDestroy(DMAdaptor *adaptor) ``` Collective ## Input Parameter - ***adaptor -*** The `DMAdaptor` object ## See Also `DMAdaptor`, `DMAdaptorCreate()`, `DMAdaptorAdapt()` ## Level beginner ## 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)