Private Types | Private Attributes | List of all members
Xpetra::EpetraExport Class Reference

#include <Xpetra_EpetraExport.hpp>

Inheritance diagram for Xpetra::EpetraExport:
Xpetra::Export< int, int >

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. More...
 

Private Attributes

RCP< const Epetra_Export > export_
 

Constructor/Destructor Methods

 EpetraExport (const Teuchos::RCP< const map_type > &source, const Teuchos::RCP< const map_type > &target)
 Construct a Export object from the source and target Map. More...
 
 EpetraExport (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...
 
 EpetraExport (const Export< LocalOrdinal, GlobalOrdinal, Node > &rhs)
 Copy constructor. More...
 
 ~EpetraExport ()
 Destructor. More...
 

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

I/O Methods

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

Xpetra specific

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

Additional Inherited Members

- Public Member Functions inherited from Xpetra::Export< int, int >
virtual ~Export ()
 Destructor. More...
 

Detailed Description

Definition at line 67 of file Xpetra_EpetraExport.hpp.

Member Typedef Documentation

Definition at line 71 of file Xpetra_EpetraExport.hpp.

Definition at line 72 of file Xpetra_EpetraExport.hpp.

Definition at line 73 of file Xpetra_EpetraExport.hpp.

The specialization of Map used by this class.

Definition at line 75 of file Xpetra_EpetraExport.hpp.

Constructor & Destructor Documentation

Xpetra::EpetraExport::EpetraExport ( const Teuchos::RCP< const map_type > &  source,
const Teuchos::RCP< const map_type > &  target 
)

Construct a Export object from the source and target Map.

Xpetra::EpetraExport::EpetraExport ( 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::EpetraExport::EpetraExport ( const Export< LocalOrdinal, GlobalOrdinal, Node > &  rhs)

Copy constructor.

Xpetra::EpetraExport::~EpetraExport ( )
inline

Destructor.

Definition at line 92 of file Xpetra_EpetraExport.hpp.

Xpetra::EpetraExport::EpetraExport ( const RCP< const Epetra_Export > &  exp)
inline

EpetraExport constructor to wrap a Epetra_Export object.

Definition at line 146 of file Xpetra_EpetraExport.hpp.

Member Function Documentation

size_t Xpetra::EpetraExport::getNumSameIDs ( ) const
inlinevirtual

Number of initial identical IDs.

Implements Xpetra::Export< int, int >.

Definition at line 100 of file Xpetra_EpetraExport.hpp.

size_t Xpetra::EpetraExport::getNumPermuteIDs ( ) const
inlinevirtual

Number of IDs to permute but not to communicate.

Implements Xpetra::Export< int, int >.

Definition at line 103 of file Xpetra_EpetraExport.hpp.

ArrayView< const int > Xpetra::EpetraExport::getPermuteFromLIDs ( ) const
virtual

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

Implements Xpetra::Export< int, int >.

Definition at line 63 of file Xpetra_EpetraExport.cpp.

ArrayView< const int > Xpetra::EpetraExport::getPermuteToLIDs ( ) const
virtual

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

Implements Xpetra::Export< int, int >.

Definition at line 67 of file Xpetra_EpetraExport.cpp.

size_t Xpetra::EpetraExport::getNumRemoteIDs ( ) const
virtual

Number of entries not on the calling process.

Implements Xpetra::Export< int, int >.

Definition at line 71 of file Xpetra_EpetraExport.cpp.

ArrayView< const int > Xpetra::EpetraExport::getRemoteLIDs ( ) const
virtual

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

Implements Xpetra::Export< int, int >.

Definition at line 75 of file Xpetra_EpetraExport.cpp.

size_t Xpetra::EpetraExport::getNumExportIDs ( ) const
virtual

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

Implements Xpetra::Export< int, int >.

Definition at line 79 of file Xpetra_EpetraExport.cpp.

ArrayView< const int > Xpetra::EpetraExport::getExportLIDs ( ) const
virtual

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

Implements Xpetra::Export< int, int >.

Definition at line 83 of file Xpetra_EpetraExport.cpp.

ArrayView< const int > Xpetra::EpetraExport::getExportPIDs ( ) const
virtual

List of processes to which entries will be sent.

Implements Xpetra::Export< int, int >.

Definition at line 61 of file Xpetra_EpetraExport.cpp.

const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > Xpetra::EpetraExport::getSourceMap ( ) const
inlinevirtual

The source Map used to construct this Export.

Implements Xpetra::Export< int, int >.

Definition at line 127 of file Xpetra_EpetraExport.hpp.

const RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > Xpetra::EpetraExport::getTargetMap ( ) const
inlinevirtual

The target Map used to construct this Export.

Implements Xpetra::Export< int, int >.

Definition at line 130 of file Xpetra_EpetraExport.hpp.

void Xpetra::EpetraExport::print ( std::ostream &  os) const
virtual

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

Implements Xpetra::Export< int, int >.

Definition at line 87 of file Xpetra_EpetraExport.cpp.

RCP< const Epetra_Export> Xpetra::EpetraExport::getEpetra_Export ( ) const
inline

Get the underlying Epetra export.

Definition at line 149 of file Xpetra_EpetraExport.hpp.

Member Data Documentation

RCP<const Epetra_Export> Xpetra::EpetraExport::export_
private

Definition at line 155 of file Xpetra_EpetraExport.hpp.


The documentation for this class was generated from the following files: