42 #ifndef TPETRA_IMPORTEXPORTDATA_DECL_HPP 43 #define TPETRA_IMPORTEXPORTDATA_DECL_HPP 45 #include "Tpetra_Distributor.hpp" 49 #ifndef DOXYGEN_SHOULD_SKIP_THIS 51 template<
class LocalOrdinal,
class GlobalOrdinal,
class Node>
class Import;
52 template<
class LocalOrdinal,
class GlobalOrdinal,
class Node>
class Export;
55 template<
class LocalOrdinal,
class GlobalOrdinal,
class Node>
class Map;
73 template<
class LocalOrdinal,
class GlobalOrdinal,
class Node>
76 typedef LocalOrdinal local_ordinal_type;
77 typedef GlobalOrdinal global_ordinal_type;
78 typedef Node node_type;
215 #endif // TPETRA_IMPORTEXPORTDATA_DECL_HPP size_t numSameIDs_
Number of initial identical indices.
Namespace Tpetra contains the class and methods constituting the Tpetra library.
Teuchos::RCP< const Teuchos::Comm< int > > comm_
Communicator over which the source and target objects are distributed.
~ImportExportData()
Destructor.
Teuchos::Array< LocalOrdinal > permuteToLIDs_
Index of target Map LIDs to which to permute.
ImportExportData(const Teuchos::RCP< const map_type > &source, const Teuchos::RCP< const map_type > &target)
Constructor.
Teuchos::Array< int > exportPIDs_
Ranks of the processes to which the source object sends data.
Teuchos::Array< LocalOrdinal > exportLIDs_
"Outgoing" local indices.
Implementation detail of Import and Export.
Sets up and executes a communication plan for a Tpetra DistObject.
Teuchos::Array< LocalOrdinal > permuteFromLIDs_
Index of source Map LIDs from which to permute.
Teuchos::RCP< Teuchos::FancyOStream > out_
Output stream for debug output.
Describes a parallel distribution of objects over processes.
const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > target_
Target Map of the Import or Export.
Distributor distributor_
Object that actually distributes (sends and receives) data.
Teuchos::RCP< ImportExportData< LocalOrdinal, GlobalOrdinal, Node > > reverseClone()
Copy the data, but reverse the direction of the transfer as well as reversing the Distributor...
Teuchos::Array< LocalOrdinal > remoteLIDs_
"Incoming" indices.
const Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > source_
Source Map of the Import or Export.