Private Types | Private Attributes | List of all members
Xpetra::EpetraImportT< EpetraGlobalOrdinal > Class Template Reference

#include <Xpetra_EpetraImport.hpp>

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

Private Types

typedef int LocalOrdinal
 
typedef EpetraGlobalOrdinal GlobalOrdinal
 
typedef Import< int, GlobalOrdinal >::node_type Node
 
typedef Map< LocalOrdinal, GlobalOrdinal, Nodemap_type
 The specialization of Map used by this class. More...
 

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. More...
 
 ~EpetraImportT ()
 Destructor. More...
 

Import 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...
 
ArrayView< const LocalOrdinalgetRemotePIDs () 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 Import object. More...
 
Teuchos::RCP< const Map< LocalOrdinal, GlobalOrdinal, Node > > getTargetMap () const
 The Target Map used to construct this Import object. More...
 

I/O Methods

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

Xpetra specific

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

Additional Inherited Members

- Public Types inherited from Xpetra::Import< int, EpetraGlobalOrdinal >
typedef int local_ordinal_type
 
typedef EpetraGlobalOrdinal global_ordinal_type
 
typedef typename Map< int, EpetraGlobalOrdinal >::node_type node_type
 
- Public Member Functions inherited from Xpetra::Import< int, EpetraGlobalOrdinal >
virtual ~Import ()
 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 ()
 
DescribableStreamManipulatorState describe (const Describable &describable, const EVerbosityLevel verbLevel=Describable::verbLevel_default)
 
std::ostream & operator<< (std::ostream &os, const DescribableStreamManipulatorState &d)
 
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 ()
 
- Public Member Functions inherited from Teuchos::LabeledObject
 LabeledObject ()
 
virtual ~LabeledObject ()
 
virtual void setObjectLabel (const std::string &objectLabel)
 
virtual std::string getObjectLabel () const
 
- Static Public Attributes inherited from Teuchos::Describable
static const EVerbosityLevel verbLevel_default
 

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
inlinevirtual

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
inlinevirtual

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
inlinevirtual

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
inlinevirtual

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: