DMPlexComputeInjectorReferenceTree#
Compute the injection matrix from fine to coarse degrees of freedom on the reference tree
Synopsis#
#include "petscdmplex.h"
PetscErrorCode DMPlexComputeInjectorReferenceTree(DM refTree, Mat *inj)
Collective
Input Parameter#
refTree - The reference-tree
DMPLEX(seeDMPlexCreateDefaultReferenceTree())
Output Parameter#
inj - The newly created injection
Matmapping fine-space coefficients on the reference tree to their coarse-space counterparts
Note#
For a nodal basis, the injection is derived from the constraint matrix attached to the reference
tree; the returned matrix is used internally by DMPlexComputeInjectorTree() to construct the
global injection between refined and coarse meshes.
See Also#
DMPlex: Unstructured Grids, DM, DMPLEX, DMPlexSetReferenceTree(), DMPlexCreateDefaultReferenceTree(), DMPlexComputeInjectorTree(), DMPlexComputeInterpolatorTree()
Level#
developer
Location#
Index of all DMPlex routines
Table of Contents for all manual pages
Index of all manual pages