#include <Xpetra_EpetraImport.hpp>
Private Types | |
| typedef int | LocalOrdinal |
| typedef int | GlobalOrdinal |
| typedef Kokkos::DefaultNode::DefaultNodeType | Node |
| typedef Map< LocalOrdinal, GlobalOrdinal, Node > | map_type |
| The specialization of Map used by this class. | |
Private Attributes | |
| RCP< const Epetra_Import > | import_ |
Constructor/Destructor Methods | |
| EpetraImport (const Teuchos::RCP< const map_type > &source, const Teuchos::RCP< const map_type > &target) | |
| Construct an Import from the source and target Maps. | |
| EpetraImport (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). | |
| EpetraImport (const Import< LocalOrdinal, GlobalOrdinal, Node > &import) | |
| Copy constructor. | |
| ~EpetraImport () | |
| Destructor. | |
Import Attribute Methods | |
| size_t | getNumSameIDs () const |
| Number of initial identical IDs. | |
| size_t | getNumPermuteIDs () const |
| Number of IDs to permute but not to communicate. | |
| ArrayView< const LocalOrdinal > | getPermuteFromLIDs () const |
| List of local IDs in the source Map that are permuted. | |
| ArrayView< const LocalOrdinal > | getPermuteToLIDs () const |
| List of local IDs in the target Map that are permuted. | |
| size_t | getNumRemoteIDs () const |
| Number of entries not on the calling process. | |
| ArrayView< const LocalOrdinal > | getRemoteLIDs () const |
| List of entries in the target Map to receive from other processes. | |
| size_t | getNumExportIDs () const |
| Number of entries that must be sent by the calling process to other processes. | |
| ArrayView< const LocalOrdinal > | getExportLIDs () const |
| List of entries in the source Map that will be sent to other processes. | |
| ArrayView< const int > | getExportImageIDs () const |
| List of processes to which entries will be sent. | |
| const RCP< const Map < LocalOrdinal, GlobalOrdinal, Node > > | getSourceMap () const |
| The Source Map used to construct this Import object. | |
| const RCP< const Map < LocalOrdinal, GlobalOrdinal, Node > > | getTargetMap () const |
| The Target Map used to construct this Import object. | |
I/O Methods | |
| void | print (std::ostream &os) const |
| Print method. | |
Xpetra specific | |
| EpetraImport (const RCP< const Epetra_Import > &import) | |
| EpetraImport constructor to wrap a Epetra_Import object. | |
| RCP< const Epetra_Import > | getEpetra_Import () const |
| Get the underlying Epetra import. | |
Definition at line 67 of file Xpetra_EpetraImport.hpp.
typedef int Xpetra::EpetraImport::LocalOrdinal [private] |
Definition at line 71 of file Xpetra_EpetraImport.hpp.
typedef int Xpetra::EpetraImport::GlobalOrdinal [private] |
Definition at line 72 of file Xpetra_EpetraImport.hpp.
typedef Kokkos::DefaultNode::DefaultNodeType Xpetra::EpetraImport::Node [private] |
Definition at line 73 of file Xpetra_EpetraImport.hpp.
typedef Map<LocalOrdinal,GlobalOrdinal,Node> Xpetra::EpetraImport::map_type [private] |
The specialization of Map used by this class.
Definition at line 75 of file Xpetra_EpetraImport.hpp.
| Xpetra::EpetraImport::EpetraImport | ( | const Teuchos::RCP< const map_type > & | source, |
| const Teuchos::RCP< const map_type > & | target | ||
| ) |
Construct an Import from the source and target Maps.
| Xpetra::EpetraImport::EpetraImport | ( | 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).
| Xpetra::EpetraImport::EpetraImport | ( | const Import< LocalOrdinal, GlobalOrdinal, Node > & | import | ) |
Copy constructor.
| Xpetra::EpetraImport::~EpetraImport | ( | ) | [inline] |
Destructor.
Definition at line 92 of file Xpetra_EpetraImport.hpp.
| Xpetra::EpetraImport::EpetraImport | ( | const RCP< const Epetra_Import > & | import | ) | [inline] |
EpetraImport constructor to wrap a Epetra_Import object.
Definition at line 146 of file Xpetra_EpetraImport.hpp.
| size_t Xpetra::EpetraImport::getNumSameIDs | ( | ) | const [inline, virtual] |
Number of initial identical IDs.
Implements Xpetra::Import< int, int >.
Definition at line 100 of file Xpetra_EpetraImport.hpp.
| size_t Xpetra::EpetraImport::getNumPermuteIDs | ( | ) | const [inline, virtual] |
Number of IDs to permute but not to communicate.
Implements Xpetra::Import< int, int >.
Definition at line 103 of file Xpetra_EpetraImport.hpp.
| ArrayView< const int > Xpetra::EpetraImport::getPermuteFromLIDs | ( | ) | const [virtual] |
List of local IDs in the source Map that are permuted.
Implements Xpetra::Import< int, int >.
Definition at line 75 of file Xpetra_EpetraImport.cpp.
| ArrayView< const int > Xpetra::EpetraImport::getPermuteToLIDs | ( | ) | const [virtual] |
List of local IDs in the target Map that are permuted.
Implements Xpetra::Import< int, int >.
Definition at line 79 of file Xpetra_EpetraImport.cpp.
| size_t Xpetra::EpetraImport::getNumRemoteIDs | ( | ) | const [virtual] |
Number of entries not on the calling process.
Implements Xpetra::Import< int, int >.
Definition at line 83 of file Xpetra_EpetraImport.cpp.
| ArrayView< const int > Xpetra::EpetraImport::getRemoteLIDs | ( | ) | const [virtual] |
List of entries in the target Map to receive from other processes.
Implements Xpetra::Import< int, int >.
Definition at line 87 of file Xpetra_EpetraImport.cpp.
| size_t Xpetra::EpetraImport::getNumExportIDs | ( | ) | const [virtual] |
Number of entries that must be sent by the calling process to other processes.
Implements Xpetra::Import< int, int >.
Definition at line 91 of file Xpetra_EpetraImport.cpp.
| ArrayView< const int > Xpetra::EpetraImport::getExportLIDs | ( | ) | const [virtual] |
List of entries in the source Map that will be sent to other processes.
Implements Xpetra::Import< int, int >.
Definition at line 95 of file Xpetra_EpetraImport.cpp.
| ArrayView< const int > Xpetra::EpetraImport::getExportImageIDs | ( | ) | const [virtual] |
List of processes to which entries will be sent.
Implements Xpetra::Import< int, int >.
Definition at line 73 of file Xpetra_EpetraImport.cpp.
| const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > Xpetra::EpetraImport::getSourceMap | ( | ) | const [inline, virtual] |
The Source Map used to construct this Import object.
Implements Xpetra::Import< int, int >.
Definition at line 127 of file Xpetra_EpetraImport.hpp.
| const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > Xpetra::EpetraImport::getTargetMap | ( | ) | const [inline, virtual] |
The Target Map used to construct this Import object.
Implements Xpetra::Import< int, int >.
Definition at line 130 of file Xpetra_EpetraImport.hpp.
| void Xpetra::EpetraImport::print | ( | std::ostream & | os | ) | const [virtual] |
Print method.
Implements Xpetra::Import< int, int >.
Definition at line 99 of file Xpetra_EpetraImport.cpp.
| RCP< const Epetra_Import> Xpetra::EpetraImport::getEpetra_Import | ( | ) | const [inline] |
Get the underlying Epetra import.
Definition at line 149 of file Xpetra_EpetraImport.hpp.
RCP<const Epetra_Import> Xpetra::EpetraImport::import_ [private] |
Definition at line 155 of file Xpetra_EpetraImport.hpp.
1.7.6.1