42#ifndef TPETRA_DIRECTORY_DECL_HPP
43#define TPETRA_DIRECTORY_DECL_HPP
45#include "Tpetra_ConfigDefs.hpp"
49#include <Teuchos_Describable.hpp>
123 template<
class LocalOrdinal,
210 const Teuchos::ArrayView<const GlobalOrdinal>& globalIDs,
211 const Teuchos::ArrayView<int>& nodeIDs)
const;
250 const Teuchos::ArrayView<const GlobalOrdinal>& globalIDs,
251 const Teuchos::ArrayView<int>& nodeIDs,
252 const Teuchos::ArrayView<LocalOrdinal>& localIDs)
const;
270 typedef ::Tpetra::Details::Directory<LocalOrdinal, GlobalOrdinal, Node>
base_type;
281 template <
class LO,
class GO,
class N>
friend class Directory;
Declaration of implementation details of Tpetra::Directory.
Declaration of the Tpetra::Map class and related nonmember constructors.
Interface for breaking ties in ownership.
Computes the local ID and process ID corresponding to given global IDs.
Interface for breaking ties in ownership.
Implement mapping from global ID to process ID and local ID.
std::string description() const
A one-line human-readable description of this object.
bool isOneToOne(const map_type &map) const
Whether the Directory's input Map is (globally) one to one.
LookupStatus getDirectoryEntries(const map_type &map, const Teuchos::ArrayView< const GlobalOrdinal > &globalIDs, const Teuchos::ArrayView< int > &nodeIDs) const
Given a global ID list, return the list of their owning process IDs.
LookupStatus getDirectoryEntries(const map_type &map, const Teuchos::ArrayView< const GlobalOrdinal > &globalIDs, const Teuchos::ArrayView< int > &nodeIDs, const Teuchos::ArrayView< LocalOrdinal > &localIDs) const
Given a global ID list, return a list of their owning process IDs and their corresponding local IDs.
Map< LocalOrdinal, GlobalOrdinal, Node > map_type
Type of the Map specialization to give to the constructor.
void initialize(const map_type &map)
Initialize the Directory with its Map.
bool initialized() const
Whether the Directory is initialized.
void initialize(const map_type &map, const Tpetra::Details::TieBreak< LocalOrdinal, GlobalOrdinal > &tieBreak)
Initialize the Directory, with its Map and a TieBreak object.
A parallel distribution of indices over processes.
Namespace Tpetra contains the class and methods constituting the Tpetra library.
LookupStatus
Return status of Map remote index lookup (getRemoteIndexList()).