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