#include <Tpetra_Import.hpp>
Inheritance diagram for Tpetra::Import< Ordinal >:

Public Member Functions | |
Constructor/Destructor Methods | |
| Import (const Map< Ordinal > &source, const Map< Ordinal > &target) | |
| Constructs a Import object from the source and target Maps. | |
| Import (const Import< Ordinal > &import) | |
| copy constructor. | |
| ~Import () | |
| destructor. | |
Export Attribute Methods | |
| Ordinal | getNumSameIDs () const |
| Returns the number of entries that are identical between the source and target maps, up to the first different ID. | |
| Ordinal | getNumPermuteIDs () const |
| Returns the number of entries that are local to the calling image, but not part of the first getNumSameIDs() entries. | |
| Teuchos::ArrayView< const Ordinal > | getPermuteFromLIDs () const |
| List of entries in the source Map that are permuted. (non-persisting view). | |
| Teuchos::ArrayView< const Ordinal > | getPermuteToLIDs () const |
| List of entries in the target Map that are permuted. (non-persisting view). | |
| Ordinal | getNumRemoteIDs () const |
| Returns the number of entries that are not on the calling image. | |
| Teuchos::ArrayView< const Ordinal > | getRemoteLIDs () const |
| List of entries in the target Map that are coming from other images. (non-persisting view). | |
| Ordinal | getNumExportIDs () const |
| Returns the number of entries that must be sent by the calling image to other images. | |
| Teuchos::ArrayView< const Ordinal > | getExportLIDs () const |
| List of entries in the source Map that will be sent to other images. (non-persisting view). | |
| Teuchos::ArrayView< const Ordinal > | getExportImageIDs () const |
| List of images to which entries will be sent, getExportLIDs() [i] will be sent to image getExportImageIDs() [i]. (non-persisting view). | |
| const Map< Ordinal > & | getSourceMap () const |
| Returns the Source Map used to construct this importer. | |
| const Map< Ordinal > & | getTargetMap () const |
| Returns the Target Map used to construct this importer. | |
| Import< Ordinal > & | operator= (const Import< Ordinal > &Source) |
| Assignment operator. | |
I/O Methods | |
| virtual void | print (std::ostream &os) const |
| Print method inherited from Teuchos::Object. | |
Import is used to construct a communication plan that can be called repeatedly by computational classes such the Tpetra CisMatrix and Vector classes to efficiently import entries from other images. An importer is used when we start out with a uniquely-owned distribution, and want to distribute that into a multiple-ownership distribution.
This class currently has one constructor, taking two Map objects. The first Map specifies the distribution we have now. The second Map specifies the distribution we want to have after importing.
NOTE: Behavior is undefined if the source Map is not uniquely-owned.
| Tpetra::Import< Ordinal >::Import | ( | const Map< Ordinal > & | source, | |
| const Map< Ordinal > & | target | |||
| ) |
Constructs a Import object from the source and target Maps.
| Tpetra::Import< Ordinal >::Import | ( | const Import< Ordinal > & | import | ) |
copy constructor.
| Tpetra::Import< Ordinal >::~Import | ( | ) |
destructor.
| Ordinal Tpetra::Import< Ordinal >::getNumSameIDs | ( | ) | const |
Returns the number of entries that are identical between the source and target maps, up to the first different ID.
| Ordinal Tpetra::Import< Ordinal >::getNumPermuteIDs | ( | ) | const |
Returns the number of entries that are local to the calling image, but not part of the first getNumSameIDs() entries.
| Teuchos::ArrayView< const Ordinal > Tpetra::Import< Ordinal >::getPermuteFromLIDs | ( | ) | const |
List of entries in the source Map that are permuted. (non-persisting view).
| Teuchos::ArrayView< const Ordinal > Tpetra::Import< Ordinal >::getPermuteToLIDs | ( | ) | const |
List of entries in the target Map that are permuted. (non-persisting view).
| Ordinal Tpetra::Import< Ordinal >::getNumRemoteIDs | ( | ) | const |
Returns the number of entries that are not on the calling image.
| Teuchos::ArrayView< const Ordinal > Tpetra::Import< Ordinal >::getRemoteLIDs | ( | ) | const |
List of entries in the target Map that are coming from other images. (non-persisting view).
| Ordinal Tpetra::Import< Ordinal >::getNumExportIDs | ( | ) | const |
Returns the number of entries that must be sent by the calling image to other images.
| Teuchos::ArrayView< const Ordinal > Tpetra::Import< Ordinal >::getExportLIDs | ( | ) | const |
List of entries in the source Map that will be sent to other images. (non-persisting view).
| Teuchos::ArrayView< const Ordinal > Tpetra::Import< Ordinal >::getExportImageIDs | ( | ) | const |
List of images to which entries will be sent, getExportLIDs() [i] will be sent to image getExportImageIDs() [i]. (non-persisting view).
| const Map< Ordinal > & Tpetra::Import< Ordinal >::getSourceMap | ( | ) | const |
Returns the Source Map used to construct this importer.
| const Map< Ordinal > & Tpetra::Import< Ordinal >::getTargetMap | ( | ) | const |
Returns the Target Map used to construct this importer.
| Import< Ordinal > & Tpetra::Import< Ordinal >::operator= | ( | const Import< Ordinal > & | Source | ) |
Assignment operator.
| void Tpetra::Import< Ordinal >::print | ( | std::ostream & | os | ) | const [virtual] |
1.4.7