Xpetra
Version of the Day
|
#include <Xpetra_TpetraImport_decl.hpp>
Public Types | |
typedef Map< LocalOrdinal, GlobalOrdinal, Node > | map_type |
The specialization of Map used by this class. More... | |
Public Types inherited from Xpetra::Import< LocalOrdinal, GlobalOrdinal, Node > | |
typedef LocalOrdinal | local_ordinal_type |
typedef GlobalOrdinal | global_ordinal_type |
typedef Node | node_type |
Private Attributes | |
RCP< const Tpetra::Import < LocalOrdinal, GlobalOrdinal, Node > > | import_ |
Constructor/Destructor Methods | |
TpetraImport (const Teuchos::RCP< const map_type > &source, const Teuchos::RCP< const map_type > &target) | |
Construct an Import from the source and target Maps. More... | |
TpetraImport (const Teuchos::RCP< const map_type > &source, const Teuchos::RCP< const map_type > &target, const Teuchos::RCP< Teuchos::ParameterList > &plist) | |
Constructor (with list of parameters). More... | |
TpetraImport (const Import< LocalOrdinal, GlobalOrdinal, Node > &import) | |
Copy constructor. More... | |
~TpetraImport () | |
Destructor. 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... | |
void | setDistributorParameters (const Teuchos::RCP< Teuchos::ParameterList > params) const |
Set parameters on distributor. 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... | |
I/O Methods | |
void | print (std::ostream &os) const |
Print the Import's data to the given output stream. More... | |
Xpetra specific | |
TpetraImport (const RCP< const Tpetra::Import< LocalOrdinal, GlobalOrdinal, Node > > &import) | |
TpetraImport constructor to wrap a Tpetra::Import object. More... | |
RCP< const Tpetra::Import < LocalOrdinal, GlobalOrdinal, Node > > | getTpetra_Import () const |
Definition at line 64 of file Xpetra_TpetraImport_decl.hpp.
typedef Map<LocalOrdinal,GlobalOrdinal,Node> Xpetra::TpetraImport< LocalOrdinal, GlobalOrdinal, Node >::map_type |
The specialization of Map used by this class.
Definition at line 71 of file Xpetra_TpetraImport_decl.hpp.
Xpetra::TpetraImport< LocalOrdinal, GlobalOrdinal, Node >::TpetraImport | ( | const Teuchos::RCP< const map_type > & | source, |
const Teuchos::RCP< const map_type > & | target | ||
) |
Construct an Import from the source and target Maps.
Definition at line 61 of file Xpetra_TpetraImport_def.hpp.
Xpetra::TpetraImport< LocalOrdinal, GlobalOrdinal, Node >::TpetraImport | ( | const Teuchos::RCP< const map_type > & | source, |
const Teuchos::RCP< const map_type > & | target, | ||
const Teuchos::RCP< Teuchos::ParameterList > & | plist | ||
) |
Constructor (with list of parameters).
Definition at line 65 of file Xpetra_TpetraImport_def.hpp.
Xpetra::TpetraImport< LocalOrdinal, GlobalOrdinal, Node >::TpetraImport | ( | const Import< LocalOrdinal, GlobalOrdinal, Node > & | import | ) |
Copy constructor.
Definition at line 69 of file Xpetra_TpetraImport_def.hpp.
Xpetra::TpetraImport< LocalOrdinal, GlobalOrdinal, Node >::~TpetraImport | ( | ) |
Destructor.
Definition at line 73 of file Xpetra_TpetraImport_def.hpp.
Xpetra::TpetraImport< LocalOrdinal, GlobalOrdinal, Node >::TpetraImport | ( | const RCP< const Tpetra::Import< LocalOrdinal, GlobalOrdinal, Node > > & | import | ) |
TpetraImport constructor to wrap a Tpetra::Import object.
Definition at line 134 of file Xpetra_TpetraImport_def.hpp.
|
virtual |
Number of initial identical IDs.
Implements Xpetra::Import< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 77 of file Xpetra_TpetraImport_def.hpp.
|
virtual |
Number of IDs to permute but not to communicate.
Implements Xpetra::Import< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 81 of file Xpetra_TpetraImport_def.hpp.
|
virtual |
List of local IDs in the source Map that are permuted.
Implements Xpetra::Import< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 85 of file Xpetra_TpetraImport_def.hpp.
|
virtual |
List of local IDs in the target Map that are permuted.
Implements Xpetra::Import< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 89 of file Xpetra_TpetraImport_def.hpp.
|
virtual |
Number of entries not on the calling process.
Implements Xpetra::Import< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 93 of file Xpetra_TpetraImport_def.hpp.
|
virtual |
List of entries in the target Map to receive from other processes.
Implements Xpetra::Import< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 106 of file Xpetra_TpetraImport_def.hpp.
|
virtual |
Set parameters on distributor.
Implements Xpetra::Import< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 97 of file Xpetra_TpetraImport_def.hpp.
|
virtual |
Number of entries that must be sent by the calling process to other processes.
Implements Xpetra::Import< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 110 of file Xpetra_TpetraImport_def.hpp.
|
virtual |
List of entries in the source Map that will be sent to other processes.
Implements Xpetra::Import< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 114 of file Xpetra_TpetraImport_def.hpp.
|
virtual |
List of processes to which entries will be sent.
Implements Xpetra::Import< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 118 of file Xpetra_TpetraImport_def.hpp.
|
virtual |
The Source Map used to construct this Import object.
Implements Xpetra::Import< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 122 of file Xpetra_TpetraImport_def.hpp.
|
virtual |
The Target Map used to construct this Import object.
Implements Xpetra::Import< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 126 of file Xpetra_TpetraImport_def.hpp.
|
virtual |
Print the Import's data to the given output stream.
Implements Xpetra::Import< LocalOrdinal, GlobalOrdinal, Node >.
Definition at line 130 of file Xpetra_TpetraImport_def.hpp.
RCP< const Tpetra::Import< LocalOrdinal, GlobalOrdinal, Node > > Xpetra::TpetraImport< LocalOrdinal, GlobalOrdinal, Node >::getTpetra_Import | ( | ) | const |
Definition at line 138 of file Xpetra_TpetraImport_def.hpp.
|
private |
Definition at line 151 of file Xpetra_TpetraImport_decl.hpp.