:orphan: # DMCreateInjection_Moab Generate a multi-level uniform refinement hierarchy by succesively refining a coarse mesh, already defined in the `DM` object provided by the user. ## Synopsis ``` PETSC_EXTERN PetscErrorCode DMCreateInjection_Moab(DM dm1, DM dm2, VecScatter *ctx) ``` Collective ## Input Parameter - ***dmb -*** The `DMMOAB` object ## Output Parameters - ***nlevels -*** The number of levels of refinement needed to generate the hierarchy - ***ldegrees -*** The degree of refinement at each level in the hierarchy ## Level beginner ## Location src/dm/impls/moab/dmmbmg.cxx --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/dm/impls/moab/dmmbmg.cxx) [Index of all DMMOAB routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)