Tpetra parallel linear algebra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
List of all members
Tpetra::Details::TieBreak< LocalOrdinal, GlobalOrdinal >::Triplet Struct Reference

Representation of a global index on a process. More...

#include <Tpetra_TieBreak.hpp>

Detailed Description

template<typename LocalOrdinal, typename GlobalOrdinal>
struct Tpetra::Details::TieBreak< LocalOrdinal, GlobalOrdinal >::Triplet

Representation of a global index on a process.

This struct holds a global index (GID), a process that owns it (PID), and its local index (LID) on that process.

FIXME (mfh 15 Sep 2013) This should be an implementation detail of subclasses; there should be no need to expose it in the public interface.

FIXME (mfh 15 Sep 2013) PID should go last, so this struct would pack into 128 bits if LocalOrdinal is 32 bits and GlobalOrdinal is 64 bits. I would fix the order myself, but I'm not sure if any downstream code depends on it.

Definition at line 83 of file Tpetra_TieBreak.hpp.


The documentation for this struct was generated from the following file: