MatSetValueLocal#
Inserts or adds a single value into a matrix, using a local numbering of the nodes. Not Collective
Input Parameters#
m - the matrix
i - the row location of the entry
j - the column location of the entry
va - the value to insert
mode - either
INSERT_VALUES
orADD_VALUES
Notes#
For efficiency one should use MatSetValuesLocal()
and set several values simultaneously.
See notes for MatSetValuesLocal()
for additional information on when and how this function can be used.
See Also#
Level#
intermediate
Location#
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages