46 #ifndef XPETRA_EPETRAEXPORT_HPP 47 #define XPETRA_EPETRAEXPORT_HPP 57 #include "Epetra_Export.h" 64 const Epetra_Export &
toEpetra(
const Export<int, int> &);
83 EpetraExport(
const Teuchos::RCP< const map_type > &source,
const Teuchos::RCP< const map_type > &target);
86 EpetraExport(
const Teuchos::RCP< const map_type > &source,
const Teuchos::RCP< const map_type > &target,
const Teuchos::RCP< Teuchos::ParameterList > &plist);
138 void print(std::ostream &os)
const;
161 #endif // XPETRA_EPETRAEXPORT_HPP ArrayView< const LocalOrdinal > getExportLIDs() const
List of entries in the source Map that will be sent to other processes.
RCP< const CrsGraph< int, int > > toXpetra(const Epetra_CrsGraph &g)
RCP< const Epetra_Export > export_
size_t getNumExportIDs() const
Number of entries that must be sent by the calling process to other processes.
size_t getNumRemoteIDs() const
Number of entries not on the calling process.
Map< LocalOrdinal, GlobalOrdinal, Node > map_type
The specialization of Map used by this class.
ArrayView< const LocalOrdinal > getRemoteLIDs() const
List of entries in the target Map to receive from other processes.
size_t getNumSameIDs() const
Number of initial identical IDs.
void print(std::ostream &os) const
Print the Export's data to the given output stream.
const Epetra_CrsGraph & toEpetra(const RCP< const CrsGraph< int, int > > &graph)
ArrayView< const LocalOrdinal > getPermuteFromLIDs() const
List of local IDs in the source Map that are permuted.
size_t getNumPermuteIDs() const
Number of IDs to permute but not to communicate.
Kokkos::DefaultNode::DefaultNodeType Node
const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > getTargetMap() const
The target Map used to construct this Export.
EpetraExport(const Teuchos::RCP< const map_type > &source, const Teuchos::RCP< const map_type > &target)
Construct a Export object from the source and target Map.
const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > getSourceMap() const
The source Map used to construct this Export.
ArrayView< const int > getExportPIDs() const
List of processes to which entries will be sent.
RCP< const Epetra_Export > getEpetra_Export() const
Get the underlying Epetra export.
EpetraExport(const RCP< const Epetra_Export > &exp)
EpetraExport constructor to wrap a Epetra_Export object.
#define XPETRA_MONITOR(funcName)
~EpetraExport()
Destructor.
ArrayView< const LocalOrdinal > getPermuteToLIDs() const
List of local IDs in the target Map that are permuted.