51 template<
class GlobalOrdinal,
class Node>
62 template<
class EpetraGlobalOrdinal,
class Node>
64 : export_(
rcp(
new Epetra_Export(toEpetra<EpetraGlobalOrdinal,Node>(source), toEpetra<EpetraGlobalOrdinal,Node>(target)))) { }
68 template<
class EpetraGlobalOrdinal,
class Node>
72 template<
class EpetraGlobalOrdinal,
class Node>
78 template<
class EpetraGlobalOrdinal,
class Node>
84 template<
class EpetraGlobalOrdinal,
class Node>
90 template<
class EpetraGlobalOrdinal,
class Node>
96 template<
class EpetraGlobalOrdinal,
class Node>
102 template<
class EpetraGlobalOrdinal,
class Node>
108 template<
class EpetraGlobalOrdinal,
class Node>
113 #ifndef XPETRA_EPETRA_NO_32BIT_GLOBAL_INDICES 115 #ifdef HAVE_XPETRA_TPETRA 116 #ifdef HAVE_XPETRA_SERIAL 120 #ifdef HAVE_XPETRA_PTHREAD 124 #ifdef HAVE_XPETRA_OPENMP 128 #ifdef HAVE_XPETRA_CUDA 129 typedef Kokkos::Compat::KokkosCudaWrapperNode default_node_type;
138 #endif // HAVE_XPETRA_TPETRA 141 #ifndef XPETRA_EPETRA_NO_64BIT_GLOBAL_INDICES 143 #ifdef HAVE_XPETRA_TPETRA 144 #ifdef HAVE_XPETRA_SERIAL 148 #ifdef HAVE_XPETRA_PTHREAD 152 #ifdef HAVE_XPETRA_OPENMP 156 #ifdef HAVE_XPETRA_CUDA 157 typedef Kokkos::Compat::KokkosCudaWrapperNode default_node_type;
166 #endif // HAVE_XPETRA_TPETRA #define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)
ArrayView< const LocalOrdinal > getPermuteToLIDs() const
List of local IDs in the target Map that are permuted.
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.
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
ArrayView< const LocalOrdinal > getRemoteLIDs() const
List of entries in the target Map to receive from other processes.
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.
size_t getNumRemoteIDs() const
Number of entries not on the calling process.
ArrayView< const LocalOrdinal > getExportLIDs() const
List of entries in the source Map that will be sent to other processes.
Exception throws when you call an unimplemented method of Xpetra.
ArrayView< const int > getExportPIDs() const
List of processes to which entries will be sent.
RCP< const CrsGraph< int, GlobalOrdinal, Node > > toXpetra(const Epetra_CrsGraph &g)
size_t getNumExportIDs() const
Number of entries that must be sent by the calling process to other processes.
#define XPETRA_MONITOR(funcName)