Xpetra
Version of the Day
|
#include <Xpetra_EpetraImport.hpp>
Private Types | |
typedef int | LocalOrdinal |
typedef EpetraGlobalOrdinal | GlobalOrdinal |
typedef Map< LocalOrdinal, GlobalOrdinal, Node > | map_type |
The specialization of Map used by this class. More... | |
Private Attributes | |
RCP< const Epetra_Import > | import_ |
Constructor/Destructor Methods | |
EpetraImportT (const Teuchos::RCP< const map_type > &source, const Teuchos::RCP< const map_type > &target) | |
Construct an Import from the source and target Maps. More... | |
~EpetraImportT () | |
Destructor. More... | |
Teuchos::RCP< const Import < LocalOrdinal, GlobalOrdinal, Node > > | createRemoteOnlyImport (const Teuchos::RCP< const map_type > &remoteTarget) const |
Special "constructor". More... | |
Import Attribute Methods | |
size_t | getNumSameIDs () const |
Number of initial identical IDs. More... | |
size_t | getNumPermuteIDs () const |
Number of IDs to permute but not to communicate. More... | |
ArrayView< const LocalOrdinal > | getPermuteFromLIDs () const |
List of local IDs in the source Map that are permuted. More... | |
ArrayView< const LocalOrdinal > | getPermuteToLIDs () const |
List of local IDs in the target Map that are permuted. More... | |
size_t | getNumRemoteIDs () const |
Number of entries not on the calling process. More... | |
ArrayView< const LocalOrdinal > | getRemoteLIDs () const |
List of entries in the target Map to receive from other processes. More... | |
ArrayView< const LocalOrdinal > | getRemotePIDs () const |
List of entries in the target Map to receive from other processes. More... | |
size_t | getNumExportIDs () const |
Number of entries that must be sent by the calling process to other processes. More... | |
ArrayView< const LocalOrdinal > | getExportLIDs () const |
List of entries in the source Map that will be sent to other processes. More... | |
ArrayView< const int > | getExportPIDs () const |
List of processes to which entries will be sent. More... | |
Teuchos::RCP< const Map < LocalOrdinal, GlobalOrdinal, Node > > | getSourceMap () const |
The Source Map used to construct this Import object. More... | |
Teuchos::RCP< const Map < LocalOrdinal, GlobalOrdinal, Node > > | getTargetMap () const |
The Target Map used to construct this Import object. More... | |
void | setDistributorParameters (const Teuchos::RCP< Teuchos::ParameterList > params) const |
Set parameters on the underlying object. More... | |
I/O Methods | |
void | print (std::ostream &os) const |
Print the Import's data to the given output stream. More... | |
Xpetra specific | |
EpetraImportT (const RCP< const Epetra_Import > &import) | |
EpetraImportT constructor to wrap a Epetra_Import object. More... | |
RCP< const Epetra_Import > | getEpetra_Import () const |
Get the underlying Epetra import. More... | |
Additional Inherited Members | |
Public Types inherited from Xpetra::Import< int, EpetraGlobalOrdinal, Node > | |
typedef int | local_ordinal_type |
typedef EpetraGlobalOrdinal | global_ordinal_type |
typedef Node | node_type |
typedef Map< int, EpetraGlobalOrdinal, Node > | map_type |
Public Member Functions inherited from Xpetra::Import< int, EpetraGlobalOrdinal, Node > | |
virtual | ~Import () |
Destructor. More... | |
virtual Teuchos::RCP< const Import< int, EpetraGlobalOrdinal, Node > > | createRemoteOnlyImport (const Teuchos::RCP< const map_type > &remoteTarget) const =0 |
Special "constructor". More... | |
Definition at line 40 of file Xpetra_EpetraImport.hpp.
|
private |
Definition at line 42 of file Xpetra_EpetraImport.hpp.
|
private |
Definition at line 43 of file Xpetra_EpetraImport.hpp.
|
private |
The specialization of Map used by this class.
Definition at line 45 of file Xpetra_EpetraImport.hpp.
|
inline |
Construct an Import from the source and target Maps.
Definition at line 52 of file Xpetra_EpetraImport.hpp.
|
inline |
Destructor.
Definition at line 64 of file Xpetra_EpetraImport.hpp.
|
inline |
EpetraImportT constructor to wrap a Epetra_Import object.
Definition at line 166 of file Xpetra_EpetraImport.hpp.
|
inline |
Special "constructor".
Definition at line 68 of file Xpetra_EpetraImport.hpp.
|
inlinevirtual |
Number of initial identical IDs.
Implements Xpetra::Import< int, EpetraGlobalOrdinal, Node >.
Definition at line 76 of file Xpetra_EpetraImport.hpp.
|
inlinevirtual |
Number of IDs to permute but not to communicate.
Implements Xpetra::Import< int, EpetraGlobalOrdinal, Node >.
Definition at line 82 of file Xpetra_EpetraImport.hpp.
|
inlinevirtual |
List of local IDs in the source Map that are permuted.
Implements Xpetra::Import< int, EpetraGlobalOrdinal, Node >.
Definition at line 88 of file Xpetra_EpetraImport.hpp.
|
inlinevirtual |
List of local IDs in the target Map that are permuted.
Implements Xpetra::Import< int, EpetraGlobalOrdinal, Node >.
Definition at line 94 of file Xpetra_EpetraImport.hpp.
|
inlinevirtual |
Number of entries not on the calling process.
Implements Xpetra::Import< int, EpetraGlobalOrdinal, Node >.
Definition at line 100 of file Xpetra_EpetraImport.hpp.
|
inlinevirtual |
List of entries in the target Map to receive from other processes.
Implements Xpetra::Import< int, EpetraGlobalOrdinal, Node >.
Definition at line 106 of file Xpetra_EpetraImport.hpp.
|
inline |
List of entries in the target Map to receive from other processes.
Definition at line 112 of file Xpetra_EpetraImport.hpp.
|
inlinevirtual |
Number of entries that must be sent by the calling process to other processes.
Implements Xpetra::Import< int, EpetraGlobalOrdinal, Node >.
Definition at line 118 of file Xpetra_EpetraImport.hpp.
|
inlinevirtual |
List of entries in the source Map that will be sent to other processes.
Implements Xpetra::Import< int, EpetraGlobalOrdinal, Node >.
Definition at line 124 of file Xpetra_EpetraImport.hpp.
|
inlinevirtual |
List of processes to which entries will be sent.
Implements Xpetra::Import< int, EpetraGlobalOrdinal, Node >.
Definition at line 130 of file Xpetra_EpetraImport.hpp.
|
inlinevirtual |
The Source Map used to construct this Import object.
Implements Xpetra::Import< int, EpetraGlobalOrdinal, Node >.
Definition at line 136 of file Xpetra_EpetraImport.hpp.
|
inlinevirtual |
The Target Map used to construct this Import object.
Implements Xpetra::Import< int, EpetraGlobalOrdinal, Node >.
Definition at line 142 of file Xpetra_EpetraImport.hpp.
|
inlinevirtual |
Set parameters on the underlying object.
Implements Xpetra::Import< int, EpetraGlobalOrdinal, Node >.
Definition at line 147 of file Xpetra_EpetraImport.hpp.
|
inlinevirtual |
Print the Import's data to the given output stream.
Implements Xpetra::Import< int, EpetraGlobalOrdinal, Node >.
Definition at line 155 of file Xpetra_EpetraImport.hpp.
|
inline |
Get the underlying Epetra import.
Definition at line 170 of file Xpetra_EpetraImport.hpp.
|
private |
Definition at line 175 of file Xpetra_EpetraImport.hpp.