Go to the source code of this file.
Namespaces | |
| namespace | Tpetra |
Enumerations | |
| enum | CombineMode { Tpetra::ADD, Tpetra::INSERT, Tpetra::REPLACE } |
If set to Add, existing values will be summed with new values. If set to Insert, new values will be inserted that don't currently exist. If set to Replace, existing values will be replaced with new values.
NOTE: Add and Replace are intended for modifying values that already exist, but it will function correctly if those values don't already exist. (i.e. zero will be inserted, and then summed with or replaced by the new value.) However, performance may suffer. (The same goes for Insert.)
1.4.7