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

#include <Xpetra_EpetraExport.hpp>

Inheritance diagram for Xpetra::EpetraExportT< EpetraGlobalOrdinal >:
Xpetra::Export< int, EpetraGlobalOrdinal > Describable

List of all members.

Private Types

typedef int LocalOrdinal
typedef EpetraGlobalOrdinal GlobalOrdinal
typedef Export< 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_Export > export_

Constructor/Destructor Methods

 EpetraExportT (const Teuchos::RCP< const map_type > &source, const Teuchos::RCP< const map_type > &target)
 Construct a Export object from the source and target Map.
 ~EpetraExportT ()
 Destructor.

Export 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.
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 Export.
Teuchos::RCP< const Map
< LocalOrdinal, GlobalOrdinal,
Node > > 
getTargetMap () const
 The target Map used to construct this Export.

I/O Methods

void print (std::ostream &os) const
 Print the Export's data to the given output stream.

Xpetra specific

 EpetraExportT (const RCP< const Epetra_Export > &exp)
 EpetraExportT constructor to wrap a Epetra_Export object.
RCP< const Epetra_Export > getEpetra_Export () const
 Get the underlying Epetra export.

Detailed Description

template<class EpetraGlobalOrdinal>
class Xpetra::EpetraExportT< EpetraGlobalOrdinal >

Definition at line 70 of file Xpetra_EpetraExport.hpp.


Member Typedef Documentation

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

Definition at line 74 of file Xpetra_EpetraExport.hpp.

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

Definition at line 75 of file Xpetra_EpetraExport.hpp.

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

Definition at line 76 of file Xpetra_EpetraExport.hpp.

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

The specialization of Map used by this class.

Definition at line 78 of file Xpetra_EpetraExport.hpp.


Constructor & Destructor Documentation

template<class EpetraGlobalOrdinal >
Xpetra::EpetraExportT< EpetraGlobalOrdinal >::EpetraExportT ( const Teuchos::RCP< const map_type > &  source,
const Teuchos::RCP< const map_type > &  target 
)

Construct a Export object from the source and target Map.

Definition at line 62 of file Xpetra_EpetraExport.cpp.

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

Destructor.

Definition at line 97 of file Xpetra_EpetraExport.hpp.

template<class EpetraGlobalOrdinal >
Xpetra::EpetraExportT< EpetraGlobalOrdinal >::EpetraExportT ( const RCP< const Epetra_Export > &  exp) [inline]

EpetraExportT constructor to wrap a Epetra_Export object.

Definition at line 151 of file Xpetra_EpetraExport.hpp.


Member Function Documentation

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

Number of initial identical IDs.

Implements Xpetra::Export< int, EpetraGlobalOrdinal >.

Definition at line 105 of file Xpetra_EpetraExport.hpp.

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

Number of IDs to permute but not to communicate.

Implements Xpetra::Export< int, EpetraGlobalOrdinal >.

Definition at line 108 of file Xpetra_EpetraExport.hpp.

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

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

Implements Xpetra::Export< int, EpetraGlobalOrdinal >.

Definition at line 70 of file Xpetra_EpetraExport.cpp.

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

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

Implements Xpetra::Export< int, EpetraGlobalOrdinal >.

Definition at line 75 of file Xpetra_EpetraExport.cpp.

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

Number of entries not on the calling process.

Implements Xpetra::Export< int, EpetraGlobalOrdinal >.

Definition at line 80 of file Xpetra_EpetraExport.cpp.

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

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

Implements Xpetra::Export< int, EpetraGlobalOrdinal >.

Definition at line 85 of file Xpetra_EpetraExport.cpp.

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

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

Implements Xpetra::Export< int, EpetraGlobalOrdinal >.

Definition at line 90 of file Xpetra_EpetraExport.cpp.

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

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

Implements Xpetra::Export< int, EpetraGlobalOrdinal >.

Definition at line 95 of file Xpetra_EpetraExport.cpp.

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

List of processes to which entries will be sent.

Implements Xpetra::Export< int, EpetraGlobalOrdinal >.

Definition at line 67 of file Xpetra_EpetraExport.cpp.

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

The source Map used to construct this Export.

Implements Xpetra::Export< int, EpetraGlobalOrdinal >.

Definition at line 132 of file Xpetra_EpetraExport.hpp.

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

The target Map used to construct this Export.

Implements Xpetra::Export< int, EpetraGlobalOrdinal >.

Definition at line 135 of file Xpetra_EpetraExport.hpp.

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

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

Implements Xpetra::Export< int, EpetraGlobalOrdinal >.

Definition at line 100 of file Xpetra_EpetraExport.cpp.

template<class EpetraGlobalOrdinal >
RCP< const Epetra_Export> Xpetra::EpetraExportT< EpetraGlobalOrdinal >::getEpetra_Export ( ) const [inline]

Get the underlying Epetra export.

Definition at line 154 of file Xpetra_EpetraExport.hpp.


Member Data Documentation

template<class EpetraGlobalOrdinal >
RCP<const Epetra_Export> Xpetra::EpetraExportT< EpetraGlobalOrdinal >::export_ [private]

Definition at line 160 of file Xpetra_EpetraExport.hpp.


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