Tpetra_CombineMode.hpp File Reference

Tpetra::Combine Mode enumerable type. More...

Go to the source code of this file.

Namespaces

namespace  Tpetra

Enumerations

enum  CombineMode { Tpetra::ADD, Tpetra::INSERT, Tpetra::REPLACE }


Detailed Description

Tpetra::Combine Mode enumerable type.

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.)


Generated on Wed May 12 21:59:41 2010 for Tpetra Matrix/Vector Services by  doxygen 1.4.7