All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Private Types | Private Attributes
Xpetra::EpetraImportT< EpetraGlobalOrdinal > Class Template Reference

#include <Xpetra_EpetraImport.hpp>

Inheritance diagram for Xpetra::EpetraImportT< EpetraGlobalOrdinal >:
Xpetra::Import< int, EpetraGlobalOrdinal > Describable

List of all members.

Private Types

typedef int LocalOrdinal
typedef EpetraGlobalOrdinal GlobalOrdinal
typedef Import< int,
GlobalOrdinal >::node_type 
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

 EpetraImportT (const Teuchos::RCP< const map_type > &source, const Teuchos::RCP< const map_type > &target)
 Construct an Import from the source and target Maps.
 ~EpetraImportT ()
 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 LocalOrdinalgetPermuteFromLIDs () const
 List of local IDs in the source Map that are permuted.
ArrayView< const LocalOrdinalgetPermuteToLIDs () 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 LocalOrdinalgetRemoteLIDs () const
 List of entries in the target Map to receive from other processes.
ArrayView< const LocalOrdinalgetRemotePIDs () 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 LocalOrdinalgetExportLIDs () const
 List of entries in the source Map that will be sent to other processes.
ArrayView< const int > getExportPIDs () const
 List of processes to which entries will be sent.
Teuchos::RCP< const Map
< LocalOrdinal, GlobalOrdinal,
Node > > 
getSourceMap () const
 The Source Map used to construct this Import object.
Teuchos::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 the Import's data to the given output stream.

Xpetra specific

 EpetraImportT (const RCP< const Epetra_Import > &import)
 EpetraImportT constructor to wrap a Epetra_Import object.
RCP< const Epetra_Import > getEpetra_Import () const
 Get the underlying Epetra import.

Detailed Description

template<class EpetraGlobalOrdinal>
class Xpetra::EpetraImportT< EpetraGlobalOrdinal >

Definition at line 70 of file Xpetra_EpetraImport.hpp.


Member Typedef Documentation

template<class EpetraGlobalOrdinal >
typedef int Xpetra::EpetraImportT< EpetraGlobalOrdinal >::LocalOrdinal [private]

Definition at line 74 of file Xpetra_EpetraImport.hpp.

template<class EpetraGlobalOrdinal >
typedef EpetraGlobalOrdinal Xpetra::EpetraImportT< EpetraGlobalOrdinal >::GlobalOrdinal [private]

Definition at line 75 of file Xpetra_EpetraImport.hpp.

template<class EpetraGlobalOrdinal >
typedef Import<int, GlobalOrdinal>::node_type Xpetra::EpetraImportT< EpetraGlobalOrdinal >::Node [private]

Definition at line 76 of file Xpetra_EpetraImport.hpp.

template<class EpetraGlobalOrdinal >
typedef Map<LocalOrdinal,GlobalOrdinal,Node> Xpetra::EpetraImportT< EpetraGlobalOrdinal >::map_type [private]

The specialization of Map used by this class.

Definition at line 78 of file Xpetra_EpetraImport.hpp.


Constructor & Destructor Documentation

template<class EpetraGlobalOrdinal >
Xpetra::EpetraImportT< EpetraGlobalOrdinal >::EpetraImportT ( 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 52 of file Xpetra_EpetraImport.cpp.

template<class EpetraGlobalOrdinal >
Xpetra::EpetraImportT< EpetraGlobalOrdinal >::~EpetraImportT ( ) [inline]

Destructor.

Definition at line 97 of file Xpetra_EpetraImport.hpp.

template<class EpetraGlobalOrdinal >
Xpetra::EpetraImportT< EpetraGlobalOrdinal >::EpetraImportT ( const RCP< const Epetra_Import > &  import) [inline]

EpetraImportT constructor to wrap a Epetra_Import object.

Definition at line 154 of file Xpetra_EpetraImport.hpp.


Member Function Documentation

template<class EpetraGlobalOrdinal >
size_t Xpetra::EpetraImportT< EpetraGlobalOrdinal >::getNumSameIDs ( ) const [inline, virtual]

Number of initial identical IDs.

Implements Xpetra::Import< int, EpetraGlobalOrdinal >.

Definition at line 105 of file Xpetra_EpetraImport.hpp.

template<class EpetraGlobalOrdinal >
size_t Xpetra::EpetraImportT< EpetraGlobalOrdinal >::getNumPermuteIDs ( ) const [inline, virtual]

Number of IDs to permute but not to communicate.

Implements Xpetra::Import< int, EpetraGlobalOrdinal >.

Definition at line 108 of file Xpetra_EpetraImport.hpp.

template<class EpetraGlobalOrdinal >
ArrayView< const int > Xpetra::EpetraImportT< EpetraGlobalOrdinal >::getPermuteFromLIDs ( ) const [virtual]

List of local IDs in the source Map that are permuted.

Implements Xpetra::Import< int, EpetraGlobalOrdinal >.

Definition at line 89 of file Xpetra_EpetraImport.cpp.

template<class EpetraGlobalOrdinal >
ArrayView< const int > Xpetra::EpetraImportT< EpetraGlobalOrdinal >::getPermuteToLIDs ( ) const [virtual]

List of local IDs in the target Map that are permuted.

Implements Xpetra::Import< int, EpetraGlobalOrdinal >.

Definition at line 94 of file Xpetra_EpetraImport.cpp.

template<class EpetraGlobalOrdinal >
size_t Xpetra::EpetraImportT< EpetraGlobalOrdinal >::getNumRemoteIDs ( ) const [virtual]

Number of entries not on the calling process.

Implements Xpetra::Import< int, EpetraGlobalOrdinal >.

Definition at line 84 of file Xpetra_EpetraImport.cpp.

template<class EpetraGlobalOrdinal >
ArrayView< const int > Xpetra::EpetraImportT< EpetraGlobalOrdinal >::getRemoteLIDs ( ) const [virtual]

List of entries in the target Map to receive from other processes.

Implements Xpetra::Import< int, EpetraGlobalOrdinal >.

Definition at line 99 of file Xpetra_EpetraImport.cpp.

template<class EpetraGlobalOrdinal >
ArrayView< const int > Xpetra::EpetraImportT< EpetraGlobalOrdinal >::getRemotePIDs ( ) const

List of entries in the target Map to receive from other processes.

Definition at line 104 of file Xpetra_EpetraImport.cpp.

template<class EpetraGlobalOrdinal >
size_t Xpetra::EpetraImportT< EpetraGlobalOrdinal >::getNumExportIDs ( ) const [virtual]

Number of entries that must be sent by the calling process to other processes.

Implements Xpetra::Import< int, EpetraGlobalOrdinal >.

Definition at line 86 of file Xpetra_EpetraImport.cpp.

template<class EpetraGlobalOrdinal >
ArrayView< const int > Xpetra::EpetraImportT< EpetraGlobalOrdinal >::getExportLIDs ( ) const [virtual]

List of entries in the source Map that will be sent to other processes.

Implements Xpetra::Import< int, EpetraGlobalOrdinal >.

Definition at line 109 of file Xpetra_EpetraImport.cpp.

template<class EpetraGlobalOrdinal >
ArrayView< const int > Xpetra::EpetraImportT< EpetraGlobalOrdinal >::getExportPIDs ( ) const [virtual]

List of processes to which entries will be sent.

Implements Xpetra::Import< int, EpetraGlobalOrdinal >.

Definition at line 81 of file Xpetra_EpetraImport.cpp.

template<class EpetraGlobalOrdinal >
Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > Xpetra::EpetraImportT< EpetraGlobalOrdinal >::getSourceMap ( ) const [inline, virtual]

The Source Map used to construct this Import object.

Implements Xpetra::Import< int, EpetraGlobalOrdinal >.

Definition at line 135 of file Xpetra_EpetraImport.hpp.

template<class EpetraGlobalOrdinal >
Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > Xpetra::EpetraImportT< EpetraGlobalOrdinal >::getTargetMap ( ) const [inline, virtual]

The Target Map used to construct this Import object.

Implements Xpetra::Import< int, EpetraGlobalOrdinal >.

Definition at line 138 of file Xpetra_EpetraImport.hpp.

template<class EpetraGlobalOrdinal >
void Xpetra::EpetraImportT< EpetraGlobalOrdinal >::print ( std::ostream &  os) const [virtual]

Print the Import's data to the given output stream.

Implements Xpetra::Import< int, EpetraGlobalOrdinal >.

Definition at line 114 of file Xpetra_EpetraImport.cpp.

template<class EpetraGlobalOrdinal >
RCP< const Epetra_Import> Xpetra::EpetraImportT< EpetraGlobalOrdinal >::getEpetra_Import ( ) const [inline]

Get the underlying Epetra import.

Definition at line 157 of file Xpetra_EpetraImport.hpp.


Member Data Documentation

template<class EpetraGlobalOrdinal >
RCP<const Epetra_Import> Xpetra::EpetraImportT< EpetraGlobalOrdinal >::import_ [private]

Definition at line 163 of file Xpetra_EpetraImport.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines