46 #ifndef XPETRA_EPETRAIMPORT_HPP 47 #define XPETRA_EPETRAIMPORT_HPP 57 #include "Epetra_Import.h" 64 RCP< const Import<int, int > >
toXpetra(
const Epetra_Import *
import);
83 EpetraImport(
const Teuchos::RCP< const map_type > &source,
const Teuchos::RCP< const map_type > &target);
86 EpetraImport(
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_EPETRAIMPORT_HPP RCP< const CrsGraph< int, int > > toXpetra(const Epetra_CrsGraph &g)
ArrayView< const LocalOrdinal > getPermuteFromLIDs() const
List of local IDs in the source Map that are permuted.
Kokkos::DefaultNode::DefaultNodeType Node
size_t getNumSameIDs() const
Number of initial identical IDs.
ArrayView< const LocalOrdinal > getExportLIDs() const
List of entries in the source Map that will be sent to other processes.
EpetraImport(const Teuchos::RCP< const map_type > &source, const Teuchos::RCP< const map_type > &target)
Construct an Import from the source and target Maps.
size_t getNumPermuteIDs() const
Number of IDs to permute but not to communicate.
const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > getTargetMap() const
The Target Map used to construct this Import object.
size_t getNumRemoteIDs() const
Number of entries not on the calling process.
ArrayView< const LocalOrdinal > getPermuteToLIDs() const
List of local IDs in the target Map that are permuted.
ArrayView< const LocalOrdinal > getRemoteLIDs() const
List of entries in the target Map to receive from other processes.
Map< LocalOrdinal, GlobalOrdinal, Node > map_type
The specialization of Map used by this class.
RCP< const Epetra_Import > getEpetra_Import() const
Get the underlying Epetra import.
const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > getSourceMap() const
The Source Map used to construct this Import object.
EpetraImport(const RCP< const Epetra_Import > &import)
EpetraImport constructor to wrap a Epetra_Import object.
size_t getNumExportIDs() const
Number of entries that must be sent by the calling process to other processes.
RCP< const Epetra_Import > import_
#define XPETRA_MONITOR(funcName)
~EpetraImport()
Destructor.
void print(std::ostream &os) const
Print method.
ArrayView< const int > getExportPIDs() const
List of processes to which entries will be sent.