InsertMode#

How the entries are combined with the current values in the vectors or matrices

Synopsis#

Values#

Note#

The PetscSection that determines the effects of the InsertMode values can be obtained by the Vec object with VecGetDM() and DMGetLocalSection().

Not all options are supported for all operations or PETSc object types.

See Also#

VecSetValues(), MatSetValues(), VecSetValue(), VecSetValuesBlocked(), VecSetValuesLocal(), VecSetValuesBlockedLocal(), MatSetValuesBlocked(), MatSetValuesBlockedLocal(), MatSetValuesLocal(), VecScatterBegin(), VecScatterEnd()

Level#

beginner

Location#

include/petscsystypes.h

Examples#

src/dm/dt/dualspace/impls/lagrange/tutorials/ex2.c
src/dm/field/tutorials/ex1.c
src/snes/tutorials/ex12.c
src/snes/tutorials/ex62.c
src/snes/tutorials/ex63.c
src/snes/tutorials/ex69.c
src/snes/tutorials/ex71.c
src/snes/tutorials/ex76.c
src/snes/tutorials/ex77.c
src/ts/tutorials/ex11.c
src/ts/tutorials/ex46.c


Edit on GitLab

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