All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Private Types | Private Attributes
Xpetra::EpetraExport Class Reference

#include <Xpetra_EpetraExport.hpp>

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

List of all members.

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_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.
 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).
 EpetraExport (const Export< LocalOrdinal, GlobalOrdinal, Node > &rhs)
 Copy constructor.
 ~EpetraExport ()
 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 > 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 Export.
const 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

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

Detailed Description

Definition at line 67 of file Xpetra_EpetraExport.hpp.


Member Typedef Documentation

typedef int Xpetra::EpetraExport::LocalOrdinal [private]

Definition at line 71 of file Xpetra_EpetraExport.hpp.

typedef int Xpetra::EpetraExport::GlobalOrdinal [private]

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

Copy constructor.

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 [inline, virtual]

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 [inline, virtual]

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::getExportImageIDs ( ) 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 [inline, virtual]

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 [inline, virtual]

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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines