All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Private Types | Private Attributes | List of all members
Xpetra::EpetraExportT< EpetraGlobalOrdinal, Node > Class Template Reference

#include <Xpetra_EpetraExport.hpp>

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

Private Types

typedef int LocalOrdinal
 
typedef EpetraGlobalOrdinal GlobalOrdinal
 
typedef Map< LocalOrdinal,
GlobalOrdinal, Node > 
map_type
 The specialization of Map used by this class. More...
 

Private Attributes

RCP< const Epetra_Exportexport_
 

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. More...
 
 ~EpetraExportT ()
 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 LocalOrdinalgetPermuteFromLIDs () const
 List of local IDs in the source Map that are permuted. More...
 
ArrayView< const LocalOrdinalgetPermuteToLIDs () 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 LocalOrdinalgetRemoteLIDs () 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 LocalOrdinalgetExportLIDs () 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...
 
Teuchos::RCP< const Map
< LocalOrdinal, GlobalOrdinal,
Node > > 
getSourceMap () const
 The source Map used to construct this Export. More...
 
Teuchos::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

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

Additional Inherited Members

- Public Types inherited from Xpetra::Export< int, EpetraGlobalOrdinal, Node >
typedef int local_ordinal_type
 
typedef EpetraGlobalOrdinal global_ordinal_type
 
typedef Node node_type
 
- Public Member Functions inherited from Xpetra::Export< int, EpetraGlobalOrdinal, Node >
virtual ~Export ()
 Destructor. More...
 
- Public Member Functions inherited from Teuchos::Describable
virtual std::string description () const
 
virtual void describe (FancyOStream &out, const EVerbosityLevel verbLevel=verbLevel_default) const
 
void describe (std::ostream &out, const EVerbosityLevel verbLevel=verbLevel_default) const
 
virtual ~Describable ()
 
 LabeledObject ()
 
virtual ~LabeledObject ()
 
virtual void setObjectLabel (const std::string &objectLabel)
 
virtual std::string getObjectLabel () const
 
DescribableStreamManipulatorState describe (const Describable &describable, const EVerbosityLevel verbLevel=Describable::verbLevel_default)
 
std::ostream & operator<< (std::ostream &os, const DescribableStreamManipulatorState &d)
 
- Static Public Attributes inherited from Teuchos::Describable
static const EVerbosityLevel verbLevel_default
 

Detailed Description

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

Definition at line 68 of file Xpetra_EpetraExport.hpp.

Member Typedef Documentation

template<class EpetraGlobalOrdinal , class Node >
typedef int Xpetra::EpetraExportT< EpetraGlobalOrdinal, Node >::LocalOrdinal
private

Definition at line 72 of file Xpetra_EpetraExport.hpp.

template<class EpetraGlobalOrdinal , class Node >
typedef EpetraGlobalOrdinal Xpetra::EpetraExportT< EpetraGlobalOrdinal, Node >::GlobalOrdinal
private

Definition at line 73 of file Xpetra_EpetraExport.hpp.

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

The specialization of Map used by this class.

Definition at line 75 of file Xpetra_EpetraExport.hpp.

Constructor & Destructor Documentation

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

Construct a Export object from the source and target Map.

Definition at line 83 of file Xpetra_EpetraExport.hpp.

template<class EpetraGlobalOrdinal , class Node >
Xpetra::EpetraExportT< EpetraGlobalOrdinal, Node >::~EpetraExportT ( )
inline

Destructor.

Definition at line 95 of file Xpetra_EpetraExport.hpp.

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

EpetraExportT constructor to wrap a Epetra_Export object.

Definition at line 167 of file Xpetra_EpetraExport.hpp.

Member Function Documentation

template<class EpetraGlobalOrdinal , class Node >
size_t Xpetra::EpetraExportT< EpetraGlobalOrdinal, Node >::getNumSameIDs ( ) const
inlinevirtual

Number of initial identical IDs.

Implements Xpetra::Export< int, EpetraGlobalOrdinal, Node >.

Definition at line 103 of file Xpetra_EpetraExport.hpp.

template<class EpetraGlobalOrdinal , class Node >
size_t Xpetra::EpetraExportT< EpetraGlobalOrdinal, Node >::getNumPermuteIDs ( ) const
inlinevirtual

Number of IDs to permute but not to communicate.

Implements Xpetra::Export< int, EpetraGlobalOrdinal, Node >.

Definition at line 106 of file Xpetra_EpetraExport.hpp.

template<class EpetraGlobalOrdinal , class Node >
ArrayView< const LocalOrdinal > Xpetra::EpetraExportT< EpetraGlobalOrdinal, Node >::getPermuteFromLIDs ( ) const
inlinevirtual

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

Implements Xpetra::Export< int, EpetraGlobalOrdinal, Node >.

Definition at line 109 of file Xpetra_EpetraExport.hpp.

template<class EpetraGlobalOrdinal , class Node >
ArrayView< const LocalOrdinal > Xpetra::EpetraExportT< EpetraGlobalOrdinal, Node >::getPermuteToLIDs ( ) const
inlinevirtual

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

Implements Xpetra::Export< int, EpetraGlobalOrdinal, Node >.

Definition at line 115 of file Xpetra_EpetraExport.hpp.

template<class EpetraGlobalOrdinal , class Node >
size_t Xpetra::EpetraExportT< EpetraGlobalOrdinal, Node >::getNumRemoteIDs ( ) const
inlinevirtual

Number of entries not on the calling process.

Implements Xpetra::Export< int, EpetraGlobalOrdinal, Node >.

Definition at line 121 of file Xpetra_EpetraExport.hpp.

template<class EpetraGlobalOrdinal , class Node >
ArrayView< const LocalOrdinal > Xpetra::EpetraExportT< EpetraGlobalOrdinal, Node >::getRemoteLIDs ( ) const
inlinevirtual

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

Implements Xpetra::Export< int, EpetraGlobalOrdinal, Node >.

Definition at line 127 of file Xpetra_EpetraExport.hpp.

template<class EpetraGlobalOrdinal , class Node >
size_t Xpetra::EpetraExportT< EpetraGlobalOrdinal, Node >::getNumExportIDs ( ) const
inlinevirtual

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

Implements Xpetra::Export< int, EpetraGlobalOrdinal, Node >.

Definition at line 133 of file Xpetra_EpetraExport.hpp.

template<class EpetraGlobalOrdinal , class Node >
ArrayView< const LocalOrdinal > Xpetra::EpetraExportT< EpetraGlobalOrdinal, Node >::getExportLIDs ( ) const
inlinevirtual

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

Implements Xpetra::Export< int, EpetraGlobalOrdinal, Node >.

Definition at line 139 of file Xpetra_EpetraExport.hpp.

template<class EpetraGlobalOrdinal , class Node >
ArrayView< const int > Xpetra::EpetraExportT< EpetraGlobalOrdinal, Node >::getExportPIDs ( ) const
inlinevirtual

List of processes to which entries will be sent.

Implements Xpetra::Export< int, EpetraGlobalOrdinal, Node >.

Definition at line 145 of file Xpetra_EpetraExport.hpp.

template<class EpetraGlobalOrdinal , class Node >
Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > Xpetra::EpetraExportT< EpetraGlobalOrdinal, Node >::getSourceMap ( ) const
inlinevirtual

The source Map used to construct this Export.

Implements Xpetra::Export< int, EpetraGlobalOrdinal, Node >.

Definition at line 148 of file Xpetra_EpetraExport.hpp.

template<class EpetraGlobalOrdinal , class Node >
Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > Xpetra::EpetraExportT< EpetraGlobalOrdinal, Node >::getTargetMap ( ) const
inlinevirtual

The target Map used to construct this Export.

Implements Xpetra::Export< int, EpetraGlobalOrdinal, Node >.

Definition at line 151 of file Xpetra_EpetraExport.hpp.

template<class EpetraGlobalOrdinal , class Node >
void Xpetra::EpetraExportT< EpetraGlobalOrdinal, Node >::print ( std::ostream &  os) const
inlinevirtual

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

Implements Xpetra::Export< int, EpetraGlobalOrdinal, Node >.

Definition at line 159 of file Xpetra_EpetraExport.hpp.

template<class EpetraGlobalOrdinal , class Node >
RCP< const Epetra_Export> Xpetra::EpetraExportT< EpetraGlobalOrdinal, Node >::getEpetra_Export ( ) const
inline

Get the underlying Epetra export.

Definition at line 170 of file Xpetra_EpetraExport.hpp.

Member Data Documentation

template<class EpetraGlobalOrdinal , class Node >
RCP<const Epetra_Export> Xpetra::EpetraExportT< EpetraGlobalOrdinal, Node >::export_
private

Definition at line 176 of file Xpetra_EpetraExport.hpp.


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