#include "petscdmcomplex.h" PetscErrorCode DMComplexVecSetClosure(DM dm, PetscSection section, Vec v, PetscInt point, const PetscScalar values[], InsertMode mode)Not collective
dm | - The DM | |
section | - The section describing the layout in v, or PETSC_NULL to use the default sectionw | |
v | - The local vector | |
point | - The sieve point in the DM | |
values | - The array of values, which is a borrowed array and should not be freed | |
mode | - The insert mode, where INSERT_ALL_VALUES and ADD_ALL_VALUES also overwrite boundary conditions |
Level:intermediate
Location:src/dm/impls/complex/complex.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages