|
Tpetra parallel linear algebra
Version of the Day
|
Go to the documentation of this file.
42 #ifndef TPETRA_DETAILS_TIEBREAK_HPP
43 #define TPETRA_DETAILS_TIEBREAK_HPP
49 #include "Teuchos_RCP.hpp"
68 template <
typename LocalOrdinal,
typename GlobalOrdinal>
128 const std::vector<std::pair<int, LocalOrdinal> >& pid_and_lid)
const = 0;
135 #endif // TPETRA_DETAILS_TIEBREAK_HPP
Implementation details of Tpetra.
virtual bool mayHaveSideEffects() const
Whether selectedIndex() may have side effects.
Interface for breaking ties in ownership.
Namespace Tpetra contains the class and methods constituting the Tpetra library.
Representation of a global index on a process.
Forward declaration for Tpetra::TieBreak.
virtual std::size_t selectedIndex(GlobalOrdinal GID, const std::vector< std::pair< int, LocalOrdinal > > &pid_and_lid) const =0
Break any ties in ownership of the given global index GID.
virtual ~TieBreak()
Virtual destructor (for memory safety of derived classes).