#include "petscdmplex.h" PetscErrorCode DMPlexMatSetClosure(DM dm, PetscSection section, PetscSection globalSection, Mat A, PetscInt point, const PetscScalar values[], InsertMode mode)Not collective
dm | - The DM | |
section | - The section describing the layout in v, or NULL to use the default section | |
globalSection | - The section describing the layout in v, or NULL to use the default global section | |
A | - The matrix | |
point | - The point in the DM | |
values | - The array of values | |
mode | - The insert mode, where INSERT_ALL_VALUES and ADD_ALL_VALUES also overwrite boundary conditions |