DMPlexMatSetClosureGeneral#
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, PetscBool useRowPerm, DM dmCol, PetscSection sectionCol, PetscSection globalSectionCol, PetscBool useColPerm, Mat A, PetscInt point, const PetscScalar values[], InsertMode mode)
Not collective
Input Parameters#
dmRow - The
DMfor the row fieldssectionRow - The section describing the layout, or
NULLto use the default section indmRowuseRowPerm - The flag to use the closure permutation of the
dmRowif availableglobalSectionRow - The section describing the layout, or
NULLto use the default global section indmRowdmCol - The
DMfor the column fieldssectionCol - The section describing the layout, or
NULLto use the default section indmColuseColPerm - The flag to use the closure permutation of the
dmColif availableglobalSectionCol - The section describing the layout, or
NULLto use the default global section indmColA - The matrix
point - The point in the
DMvalues - The array of values
mode - The insert mode, where
INSERT_ALL_VALUESandADD_ALL_VALUESalso 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