# DMGenerateRegisterAll
Registers all of the mesh generation methods in the DM package. 
## Synopsis
```
#include "petscdm.h"          
PetscErrorCode DMGenerateRegisterAll(void)
```
Not Collective




## See Also
 `DMGenerateRegisterDestroy()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/interface/dmgenerate.c.html#DMGenerateRegisterAll">src/dm/interface/dmgenerate.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/interface/dmgenerate.c)


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