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/field/tutorials/ex1.c
src/ts/utils/dmplexlandau/tutorials/ex1.c
src/ts/tutorials/ex48.c
src/ts/tutorials/ex47.c
src/ts/tutorials/ex30.c
src/dm/dt/dualspace/impls/lagrange/tutorials/ex2.c
src/ts/tutorials/ex11.c
src/ts/tutorials/ex77.c
src/ts/tutorials/ex76.c
src/ts/tutorials/ex46.c

Examples#

src/snes/tutorials/ex12.c


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