# DMPlexComputeInterpolatorGeneral
Form the local portion of the interpolation matrix I from the coarse `DM` to a non-nested fine `DM`. 
## Synopsis
```
#include "petscdmplex.h"   
PetscErrorCode DMPlexComputeInterpolatorGeneral(DM dmc, DM dmf, Mat In, void *user)
```

## Input Parameters

- ***dmf  -*** The fine mesh
- ***dmc  -*** The coarse mesh
- ***user -*** The user context



## Output Parameter

- ***In  -*** The interpolation matrix





## See Also
 [](chapter_unstructured), `DM`, `DMPLEX`, `DMPlexComputeInterpolatorNested()`, `DMPlexComputeJacobianFEM()`

## Level
developer

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/dm/impls/plex/plexfem.c.html#DMPlexComputeInterpolatorGeneral">src/dm/impls/plex/plexfem.c</A>


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


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