VecSetValuesSection#

Sets all the values associated with a given point, according to the section, in the given Vec

Synopsis#

#include "petscsection.h"   
#include "petscvec.h"   
PetscErrorCode VecSetValuesSection(Vec v, PetscSection s, PetscInt point, const PetscScalar values[], InsertMode mode)

Not Collective

Input Parameters#

Fortran Notes#

This is similar to MatSetValuesStencil(). The binding is

VecSetValuesSectionF90(vec, section, point, values, mode, ierr)

See Also#

PetscSection, PetscSectionCreate(), VecGetValuesSection()

Level#

developer

Location#

src/vec/vec/utils/vsection.c

Examples#

src/snes/tutorials/ex7.c


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