DMPlexVecSetClosure#

Set an array of the values on the closure of point

Synopsis#

#include "petscdmplex.h"   
PetscErrorCode DMPlexVecSetClosure(DM dm, PetscSection section, Vec v, PetscInt point, const PetscScalar values[], InsertMode mode)

Not collective

Input Parameters#

See Also#

DMPlex: Unstructured Grids, DM, DMPLEX, DMPlexVecGetClosure(), DMPlexMatSetClosure()

Level#

intermediate

Location#

src/dm/impls/plex/plex.c

Examples#

src/dm/impls/plex/tutorials/ex6.c
src/snes/tutorials/ex77.c


Edit on GitLab

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