PETSc version 3.17.4
DMCreateMassMatrix
Gets mass matrix between two DM objects, M_ij = \int \phi_i \psi_j
Synopsis
#include "petscdm.h"
#include "petscdmlabel.h"
#include "petscds.h"
PetscErrorCode DMCreateMassMatrix(DM dmc, DM dmf, Mat *mat)
Collective on dac
Input Parameters
| dmc | - the target DM object
|
| dmf | - the source DM object
|
Output Parameter
See Also
DMCreateMassMatrixLumped(), DMCreateMatrix(), DMRefine(), DMCoarsen(), DMCreateRestriction(), DMCreateInterpolation(), DMCreateInjection()
Level
developer
Location
src/dm/interface/dm.c
Implementations
DMCreateMassMatrix_Plex in src/dm/impls/plex/plex.c
DMCreateMassMatrix_Swarm in src/dm/impls/swarm/swarm.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages