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;
290 #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.