:orphan: # DMPlexComputeMassMatrixGeneral Form the local portion of the mass matrix M from the coarse `DM` to a non-nested fine `DM`. ## Synopsis ``` #include "petscdmplex.h" PetscErrorCode DMPlexComputeMassMatrixGeneral(DM dmc, DM dmf, Mat mass, void *user) ``` ## Input Parameters - ***dmf -*** The fine mesh - ***dmc -*** The coarse mesh - ***user -*** The user context ## Output Parameter - ***mass -*** The mass matrix ## See Also [](ch_unstructured), `DM`, `DMPLEX`, `DMPlexComputeMassMatrixNested()`, `DMPlexComputeInterpolatorNested()`, `DMPlexComputeInterpolatorGeneral()`, `DMPlexComputeJacobianFEM()` ## Level developer ## Location src/dm/impls/plex/plexfem.c --- [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](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)