10 #ifndef TPETRA_DIRECTORY_DECL_HPP
11 #define TPETRA_DIRECTORY_DECL_HPP
13 #include "Tpetra_ConfigDefs.hpp"
17 #include <Teuchos_Describable.hpp>
91 template<
class LocalOrdinal,
178 const Teuchos::ArrayView<const GlobalOrdinal>& globalIDs,
179 const Teuchos::ArrayView<int>& nodeIDs)
const;
218 const Teuchos::ArrayView<const GlobalOrdinal>& globalIDs,
219 const Teuchos::ArrayView<int>& nodeIDs,
220 const Teuchos::ArrayView<LocalOrdinal>& localIDs)
const;
238 typedef ::Tpetra::Details::Directory<LocalOrdinal, GlobalOrdinal, Node>
base_type;
249 template <
class LO,
class GO,
class N>
friend class Directory;
258 #endif // TPETRA_DIRECTORY_DECL_HPP
Interface for breaking ties in ownership.
Interface for breaking ties in ownership.
Map< LocalOrdinal, GlobalOrdinal, Node > map_type
Type of the Map specialization to give to the constructor.
LookupStatus
Return status of Map remote index lookup (getRemoteIndexList()).
Declaration of the Tpetra::Map class and related nonmember constructors.
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.
A parallel distribution of indices over processes.
Computes the local ID and process ID corresponding to given global IDs.
Implement mapping from global ID to process ID and local ID.
bool initialized() const
Whether the Directory is initialized.
void initialize(const map_type &map)
Initialize the Directory with its Map.
Directory()
Default constructor: the only one you should use.
Declaration of implementation details of Tpetra::Directory.
std::string description() const
A one-line human-readable description of this object.