DMPlexMatSetClosureRefined#

Insert values into A for the closure of a coarse-cell point, using indices from the associated refined subcells

Synopsis#

#include "petscdmplex.h"   
PetscErrorCode DMPlexMatSetClosureRefined(DM dmf, PetscSection fsection, PetscSection globalFSection, DM dmc, PetscSection csection, PetscSection globalCSection, Mat A, PetscInt point, const PetscScalar values[], InsertMode mode)

Not Collective

Input Parameters#

Note#

This helper mirrors DMPlexMatSetClosure() but produces row indices from the fine subcells associated with the coarse point under regular refinement. It is used when assembling operators that couple a coarse cell to its uniform refinement.

See Also#

DMPlex: Unstructured Grids, DM, DMPLEX, DMPlexMatSetClosure(), DMPlexMatGetClosureIndicesRefined(), DMPlexTransformCellTransform(), MatSetValues()

Level#

developer

Location#

src/dm/impls/plex/plex.c


Index of all DMPlex routines
Table of Contents for all manual pages
Index of all manual pages