DMPlexMatSetClosure#
Set an array of the values on the closure of ‘point’ using a different row and column section
Synopsis#
#include "petscdmplex.h"
PetscErrorCode DMPlexMatSetClosureGeneral(DM dmRow, PetscSection sectionRow, PetscSection globalSectionRow, DM dmCol, PetscSection sectionCol, PetscSection globalSectionCol, Mat A, PetscInt point, const PetscScalar values[], InsertMode mode)
Not collective
Input Parameters#
dmRow - The
DM
for the row fieldssectionRow - The section describing the layout, or
NULL
to use the default section indmRow
globalSectionRow - The section describing the layout, or
NULL
to use the default global section indmRow
dmCol - The
DM
for the column fieldssectionCol - The section describing the layout, or
NULL
to use the default section indmCol
globalSectionCol - The section describing the layout, or
NULL
to use the default global section indmCol
A - The matrix
point - The point in the
DM
values - The array of values
mode - The insert mode, where
INSERT_ALL_VALUES
andADD_ALL_VALUES
also overwrite boundary conditions
See Also#
DMPlex: Unstructured Grids, DM
, DMPLEX
, DMPlexMatSetClosure()
, DMPlexVecGetClosure()
, DMPlexVecSetClosure()
Level#
intermediate
Location#
Index of all DMPlex routines
Table of Contents for all manual pages
Index of all manual pages