# DMCreateInterpolation_Moab
Generate the interpolation operators to transform operators (matrices, vectors) from parent level to child level as defined by the DM inputs provided by the user. 
## Synopsis
```
PETSC_EXTERN PetscErrorCode DMCreateInterpolation_Moab(DM dmp, DM dmc, Mat *interpl, Vec *vec)
```
Collective


## Input Parameters

- ***dm1  -*** The DMMoab object
- ***dm2  -*** the second, finer DMMoab object



## Output Parameters

- ***interpl  -*** The interpolation operator for transferring data between the levels
- ***vec      -*** The scaling vector (optional)





## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/moab/dmmbmg.cxx.html#DMCreateInterpolation_Moab">src/dm/impls/moab/dmmbmg.cxx</A>


---
[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](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
