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,
94 class Directory :
public Teuchos::Describable {
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;
244 const base_type* impl_;
247 Directory (
const Directory<LocalOrdinal, GlobalOrdinal, Node>& directory);
249 template <
class LO,
class GO,
class N>
friend class Directory;
252 Directory<LocalOrdinal, GlobalOrdinal, Node>&
253 operator= (
const Directory<LocalOrdinal, GlobalOrdinal, Node>& source);
Declaration of implementation details of Tpetra::Directory.
Declaration of the Tpetra::Map class and related nonmember constructors.
Interface for breaking ties in ownership.
Interface for breaking ties in ownership.
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.
Directory()
Default constructor: the only one you should use.
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()).