42 #ifndef TPETRA_DETAILS_TRANSFER_HPP 43 #define TPETRA_DETAILS_TRANSFER_HPP 45 #include <Tpetra_ConfigDefs.hpp> 46 #include <Kokkos_DefaultNode.hpp> 47 #include <Teuchos_Describable.hpp> 56 #ifndef DOXYGEN_SHOULD_SKIP_THIS 58 #endif // DOXYGEN_SHOULD_SKIP_THIS 67 class GO = DefaultTypes::global_ordinal_type,
104 virtual Teuchos::ArrayView<const LO>
getRemoteLIDs ()
const = 0;
110 virtual Teuchos::ArrayView<const LO>
getExportLIDs ()
const = 0;
116 virtual Teuchos::ArrayView<const int>
getExportPIDs ()
const = 0;
119 virtual Teuchos::RCP<const map_type>
getSourceMap ()
const = 0;
122 virtual Teuchos::RCP<const map_type>
getTargetMap ()
const = 0;
131 #endif // TPETRA_DETAILS_TRANSFER_HPP virtual Teuchos::ArrayView< const LO > getPermuteToLIDs() const =0
List of local IDs in the target Map that are permuted.
Namespace Tpetra contains the class and methods constituting the Tpetra library.
Common base class of Import and Export.
virtual Teuchos::ArrayView< const int > getExportPIDs() const =0
List of processes to which entries will be sent.
KokkosClassic::DefaultNode::DefaultNodeType node_type
Default value of Node template parameter.
virtual size_t getNumSameIDs() const =0
Number of initial identical IDs.
virtual Teuchos::ArrayView< const LO > getPermuteFromLIDs() const =0
List of local IDs in the source Map that are permuted.
::Tpetra::Map< LO, GO, NT > map_type
The specialization of Map used by this class and subclasses.
int local_ordinal_type
Default value of LocalOrdinal template parameter.
Implementation details of Tpetra.
Declarations for the Tpetra::Map class and related nonmember constructors.
virtual ::Tpetra::Distributor & getDistributor() const =0
The Distributor that this Export object uses to move data.
virtual size_t getNumPermuteIDs() const =0
Number of IDs to permute but not to communicate.
virtual Teuchos::ArrayView< const LO > getRemoteLIDs() const =0
List of entries in the target Map to receive from other processes.
virtual Teuchos::RCP< const map_type > getTargetMap() const =0
The target Map used to construct this Export.
virtual Teuchos::ArrayView< const LO > getExportLIDs() const =0
List of entries in the source Map that will be sent to other processes.
virtual ~Transfer()
Destructor (declared virtual for memory safety of derived classes).
virtual size_t getNumRemoteIDs() const =0
Number of entries not on the calling process.
virtual size_t getNumExportIDs() const =0
Number of entries that must be sent by the calling process to other processes.
virtual Teuchos::RCP< const map_type > getSourceMap() const =0
The source Map used to construct this Export.